PHP 4.0 Bug #8124: ereg causes page to fail

From: Date: Tue, 05 Dec 2000 16:37:59 +0000
Subject: PHP 4.0 Bug #8124: ereg causes page to fail
Groups: php.dev 
Request: Send a blank email to php-dev+get-40147@lists.php.net to get a copy of this message
From: binkleym@nukote.com Operating system: Debian Woody (with latest updates) PHP version: 4.0.3pl1 PHP Bug Type: *Regular Expressions Bug description: ereg causes page to fail I installed Debian Woody/PHP 4 on a clean machine, and apt-get dist-upgrade'd to the latest files. Ereg and ereg_replace will cause the page to fail. Here's an example program: <? $a = "Hello Mars!"; $a = ereg_replace("Mars", "World", $a); echo $a; ?> When I load this page in IE 5.0, I get a "The Page Cannot Be Displayed" error. If I comment out the ereg line it works fine. -- Edit Bug report at: http://bugs.php.net/?id=8124&edit=1

« previous php.dev (#40147) next »