Bug #12855 Updated: ereg_replace not working
| From: | sander@php.net | Date: | Fri, 31 Aug 2001 10:38:18 +0000 |
| Subject: | Bug #12855 Updated: ereg_replace not working | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64785@lists.php.net to get a copy of this message | ||
ID: 12855
Updated by: sander
Reported By: simonegrassi@yahoo.com
Old Status: Open
Status: Closed
Old Bug Type: *Encryption and hash functions
Bug Type: Regexps related
Operating System: Linux RedHat 7.1
PHP Version: 4.0.6
New Comment:
Unable to reproduce.
Previous Comments:
------------------------------------------------------------------------
[2001-08-20 05:17:42] simonegrassi@yahoo.com
$nm = ereg_replace( " ", " ", $nm );
I'am debugging a script where it doesn't work!
$nm has been passed with in-line parameters (read-only ???),
but it does not work also in the following way:
// $nm is "test with blank.pdf"
$newVar = $nm;
$tryIt = ereg_replace( " ", " ", $newVar );
// $tryIt is always "test with blank.pdf"
in another script it works (???) with the same simple substitution,
many thanks,
Simone Grassi.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12855&edit=1