Bug #977 Updated: php seems to crash with ereg and a searchstring including
| From: | Bug Database | Date: | Sat, 05 Dec 1998 22:03:34 +0000 |
| Subject: | Bug #977 Updated: php seems to crash with ereg and a searchstring including | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2680@lists.php.net to get a copy of this message | ||
ID: 977
Updated by: zeev
Reported By: auke@muze.nl
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
This can result from several things.
First, the regular expression seems not to be valid.
For me, a regex error comes back:
<b>Warning</b>: REG_BADRPT in <b>-</b> on line
<b>2</b><br>
Your regex library may be less forgiving and crash.
Or, you may have the common regex messup where you compiled
Apache with one set of regex functions, and PHP with another.
Do all other regex's work fine? If not, that's probably
your problem.
There's nothing special in PHP in the handling of the
"?>" string, it's handled like any other string, and fed
as-is to the regex function. If there's a crash in there,
it's definitely coming from the regex library.
Full Bug description available at: http://ca.php.net/bugs.php3?id=977
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net