#22002 [Opn]: empty mask with regulary expression
| From: | benjch at cybercable dot fr | Date: | Sat, 01 Feb 2003 22:29:28 +0000 |
| Subject: | #22002 [Opn]: empty mask with regulary expression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31855@lists.php.net to get a copy of this message | ||
ID: 22002
User updated by: benjch@cybercable.fr
Reported By: benjch@cybercable.fr
Status: Open
Bug Type: Reproducible crash
Operating System: winXP
PHP Version: 4.3.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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