note 84303 rejected from language.types.string by danbrown

From: Date: Wed, 09 Jul 2008 13:43:06 +0000
Subject: note 84303 rejected from language.types.string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141303@lists.php.net to get a copy of this message
Note Submitter: sassospicco ---- That's my point, nullhility. Using the null character, the behaviour is clear: a null character is a string and $a[1] will be a string. Period. Now see it my way: I set $a[1] (string) to a different type (NULL) and PHP has to "invent" a corresponding value related to string type. He uses a null char. But the page "converting to string" of this manual (this_page#language.types.string.casting) clearly says "NULL is always converted to an empty string.". This is the strange behaviour I wanted to underline.

« previous php.notes (#141303) next »