Bug #18528 Updated: Php crashes upon using eregi_replace
| From: | flash at daaw dot org | Date: | Thu, 25 Jul 2002 12:08:39 +0000 |
| Subject: | Bug #18528 Updated: Php crashes upon using eregi_replace | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15175@lists.php.net to get a copy of this message | ||
ID: 18528
Updated by: flash@daaw.org
Reported By: flash@daaw.org
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Redhat linux 7.1 (kernel 2.4.18)
PHP Version: 4.2.2
New Comment:
I have done this yesterday already, lemme tell you exactly what I did
first. I upgraded from php 4.2.1 to 4.2.2 using the configure script as
stated above (so using the system regex) that didnt work
next I installed php 4.2.2 (from a new tarball) without the system
regex and it gave exactly thesame problem.
this morning I removed apache and php completely, I extraced new
tarballs from both and installed without system regex and I still get
thesame problem with all eregi commands.
Previous Comments:
------------------------------------------------------------------------
[2002-07-25 07:50:39] sniper@php.net
Just that you know, I don't get any crash with that script..
------------------------------------------------------------------------
[2002-07-25 07:50:16] sniper@php.net
Please try a clean build (from freshly extracted sources)
and DO NOT use system regex..
------------------------------------------------------------------------
[2002-07-25 07:40:50] flash@daaw.org
<?
$test = "this is a nice text";
$text = eregi_replace("a", "one", "$test");
echo "$text";
?>
--
I noticed also that other eregi functions dont work. like the normal
eregi command. could it have something to do with libs I updated on my
system ?
------------------------------------------------------------------------
[2002-07-25 05:55:55] sniper@php.net
We need a _self-contained_ short and complete example script. That
means a script that you can just copy'n'paste
and run without having to edit it in any way..
------------------------------------------------------------------------
[2002-07-25 05:37:29] flash@daaw.org
what the heck else do you need to know. I stated the code. I told PHP
crashed upon executing the eregi_replace instead of running it. that
includes all the topics listed in the bug help.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18528
--
Edit this bug report at http://bugs.php.net/?id=18528&edit=1