Bug #18528 Updated: Php crashes upon using eregi_replace

From: Date: Thu, 25 Jul 2002 12:12:41 +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-15177@lists.php.net to get a copy of this message
ID: 18528 Updated by: sniper@php.net Reported By: flash@daaw.org -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Redhat linux 7.1 (kernel 2.4.18) PHP Version: 4.2.2 New Comment: Hmm..I tested with the 4.3.0-dev actually..can you try this snapshot: http://snaps.php.net/php4-latest.tar.gz Just try it on command line.. Previous Comments: ------------------------------------------------------------------------ [2002-07-25 08:08:39] flash@daaw.org 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. ------------------------------------------------------------------------ [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.. ------------------------------------------------------------------------ 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

« previous php.bugs (#15177) next »