In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Thomas Wentzel) wrote:
$test=@file(some_non_existing_file);
Can somebody explain why count($test) is 1. When $test doesn't hold any
data
From http://www.php.net/manual/en/function.count.php:
If var is not an array, 1 will be returned
When
Arhh man, that was embarrasing...
Thanks! I guess I didn't get enough coffee this morning :/
T.
Cc Zona wrote:
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Thomas Wentzel) wrote:
$test=@file(some_non_existing_file);
Can somebody explain why count($test) is 1. When $test doesn't
2 matches
Mail list logo