#22002 [Opn->Fbk]: empty mask with regulary expression

From: Date: Sat, 01 Feb 2003 23:01:44 +0000
Subject: #22002 [Opn->Fbk]: empty mask with regulary expression
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31858@lists.php.net to get a copy of this message
ID: 22002 Updated by: magnus@php.net Reported By: benjch@cybercable.fr -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: winXP PHP Version: 4.3.0 New Comment: Could you please try STABLE and Latest CVS from http://snaps.php.net and report ? I could not reproduce this on Linux with HEAD. Previous Comments: ------------------------------------------------------------------------ [2003-02-01 16:32:27] nicos@php.net Can't reproduce it with FreeBSD/Linux and PHP4.3.0/PHP5.0.0 ------------------------------------------------------------------------ [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

« previous php.bugs (#31858) next »