note 75586 deleted from function.substr by tularis
| From: | tularis@php.net | Date: | Mon, 31 Dec 2007 10:48:36 +0000 |
| Subject: | note 75586 deleted from function.substr by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134612@lists.php.net to get a copy of this message | ||
Note Submitter: hansfn at gmail dot com
----
In PHP 5.2.2 (and probably 4.4.x) the behaviour of substr has changed for negative start index
larger than the string length - now returning false in stead of the string itself. Read http://bugs.php.net/bug.php?id=41375