note 73420 deleted from function.substr by bobby

From: Date: Thu, 22 Feb 2007 15:38:38 +0000
Subject: note 73420 deleted from function.substr by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123715@lists.php.net to get a copy of this message
Note Submitter: rune at zedeler dot dk Reason: in docs ---- Taking the empty substring at the end of a string DOES NOT produce the empty string, as expected. It produces boolean false. <? $foo = substr("foo", 3); var_dump($foo); ?> This gives false, not ''.

« previous php.notes (#123715) next »