note 40408 added to language.types.null
| From: | apeiros at rn2 dot php dot net | Date: | Wed, 03 Mar 2004 05:30:42 +0000 |
| Subject: | note 40408 added to language.types.null | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66142@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/language.types.null.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40408
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40408&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40408&report=yes
Search -- http://master.php.net/manage/user-notes.php