substr & substr_compare fix
| From: | Etienne Kneuss | Date: | Mon, 11 Feb 2008 18:07:34 +0000 |
| Subject: | substr & substr_compare fix | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-35391@lists.php.net to get a copy of this message | ||
Hi,
please consider the following patches [1,2] that are supposed to fix
1) substr in 5_3
2) substr_compare in 5_3 and HEAD
It basically makes them not so strict about the length argument.
Regards
[1] http://patches.colder.ch/php-src/string_substr_5_3.patch?markup
[2] http://patches.colder.ch/php-src/string_substr_HEAD.patch?markup
--
Etienne Kneuss
http://www.colder.ch
Men never do evil so completely and cheerfully as
when they do it from a religious conviction.
-- Pascal