Re: Bug #14879 Updated: ereg_replace incorrectly functioning
| From: | Markus Fischer | Date: | Sun, 06 Jan 2002 00:14:23 +0000 |
| Subject: | Re: Bug #14879 Updated: ereg_replace incorrectly functioning | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75999@lists.php.net to get a copy of this message | ||
On Sun, Jan 06, 2002 at 12:05:45AM -0000, jimw@php.net wrote :
> ID: 14879
> Updated by: jimw
> Reported By: jhise@linuxforbusiness.org
> Status: Bogus
> Bug Type: Scripting Engine problem
> Operating System: Linux-Mandrake 8.1
> PHP Version: 4.0.6
> New Comment:
>
> ereg_replace is behaving as designed, more or less. the behavior of an
> empty first parameter is undefined (although with the bundled regular
> expression engine, it will leave the string unchanged and display an
> error message).
To me its quite defined. You get REG_EMPTY warning and the
return value is false (at leat, since 4.0.6).
--
Please always Cc to me when replying to me on the lists.