note 21214 deleted from function.preg-replace by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 22:07:33 +0000 |
| Subject: | note 21214 deleted from function.preg-replace by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55710@lists.php.net to get a copy of this message | ||
Note Submitter: elwyn.malethan.imaginet.co.uk
----
preg_replace has a maximimum string length for the third argument. I'm not sure what it is,
can't be bothered finding out.
If this string length is exceeded your PHP script will crash with no a error message or explanation.
The problem doesn't seem to exist in ereg_replace.
The problem is, I don't like the ereg format for patterns. Please fix this bug!