#22002 [Opn]: empty mask with regulary expression
| From: | nicos@php.net | Date: | Sat, 01 Feb 2003 22:32:27 +0000 |
| Subject: | #22002 [Opn]: empty mask with regulary expression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31856@lists.php.net to get a copy of this message | ||
ID: 22002
Updated by: nicos@php.net
Reported By: benjch@cybercable.fr
Status: Open
Bug Type: Reproducible crash
Operating System: winXP
PHP Version: 4.3.0
New Comment:
Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 16:29:28] benjch@cybercable.fr
if you repeat at least 20-30 time the ereg function with an empty mask
php.exe bug and stay in the task manager.
Some time the web page doesn't appear or just a part. Example of an
'reproductible bug' code
for($i=0;$i<100;$i++)
{
ereg("","aa");
}
BUT if you put @ in front of ereg the bug doesn't appear.
hope this bug report will be usefull.
Thanks
------------------------------------------------------------------------
[2003-02-01 16:22:42] benjch@cybercable.fr
if you repeat at least 20-30 time the ereg function with an empty mask
php.exe doesn't bug and stay in the task manager.
Some time the web page doesn't appear or just a part. Example of an
'reproductible bug' code
for($i=0;$i<100;$i++)
{
ereg("","aa");
}
BUT if you put @ in front of ereg the bug doesn't appear.
hope this bug report will be usefull.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22002&edit=1