Date: 05/30/98
- Next message: Bug Database: "[PHP-DEV] Bug #266 Updated: split() reutrn value inconsistency"
- Previous message: rasmus: "[PHP-DEV] CVS update: php31/ext/standard"
- In reply to: Jan Legenhausen: "Re: [PHP-DEV] Bug #417: silent (?) change in variable's value behaviour"
- Next in thread: Jan Legenhausen: "[PHP-DEV] empty() II"
- Reply: Jan Legenhausen: "[PHP-DEV] empty() II"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 12:04 30/05/98 +0200, Jan Legenhausen wrote:
>Look at this:
>
><?
>$test="";
>
>if (!$test) echo "False\n";
>if (empty($test)) echo "Empty!\n";
>if (isset($test)) echo "Is Set!\n";
>?>
>
>Both functions empty() and isset() say TRUE - that's not the right
>thing, i guess.
Guess again :) It's exactly the correct behavior.
Zeev
-- Zeev Suraski <zeev <email protected>> For a PGP public key, finger bourbon <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #266 Updated: split() reutrn value inconsistency"
- Previous message: rasmus: "[PHP-DEV] CVS update: php31/ext/standard"
- In reply to: Jan Legenhausen: "Re: [PHP-DEV] Bug #417: silent (?) change in variable's value behaviour"
- Next in thread: Jan Legenhausen: "[PHP-DEV] empty() II"
- Reply: Jan Legenhausen: "[PHP-DEV] empty() II"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

