note 40408 deleted from language.types.null by nlopess
| From: | nlopess@php.net | Date: | Wed, 03 Mar 2004 17:44:59 +0000 |
| Subject: | note 40408 deleted from language.types.null by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66196@lists.php.net to get a copy of this message | ||
Note Submitter: apeiros
----
In response to avbentem at hetnet.nl's post:
PHP's behaviour seems to have changed. I only tested it with PHP 4.3.4, using his function all
expressions now return a boolean value rather then an int(0) for false or int(1) for true, excepted
for following expressions:
1+null --> int(1)
"test".null --> string(4) "test"
Which obviously is correct this way.