sizeof

From: Date: Mon, 11 Aug 2003 12:04:20 +0000
Subject: sizeof
Groups: php.general 
Request: Send a blank email to php-general+get-159139@lists.php.net to get a copy of this message
Hello everybody, i have strange behaviour with sizeof(). mysql_fetch_array () return for me empty array, when i count this array by sizeof() it return 1, serialized array is look like this: b:0; check it: <?php print sizeof ( unserialize ( "b:0;" ) ); ?> it will print 1 .. why ? what is b:0 ? why mysql_fetch_array don't return false, when query result is empty ?

« previous php.general (#159139) next »