← Back to Users
phpsucks's activity in the archive.
Please rate this bug important so that it gets fixed http://bugs.php.net/bug.php?id=31098
Watch out when upgrading!
<?$a = 'foobar';print empty($a->nothere) ? 'empty' : 'not empty';?>
This code prints 'empty' with 5.0.1, but 'not empty' with 5.0.3.
You must check all your code for the use of empty() with a string!
I wish PHP would warn everyone about this sort of thing.
Here is the man page...nothing said about it: http://www.php.net/empty
Please rate this bug important so that it gets fixed http://bugs.php.net/bug.php?id=31098
Watch out when upgrading!
This code prints 'empty' with 5.0.1, but 'not empty' with 5.0.3.
You must check all your code for the use of empty() with a string!
I wish PHP would warn everyone about this sort of thing.
Here is the man page...nothing said about it: http://www.php.net/empty