On Sun, Jan 06, 2002 at 12:05:45AM -0000, [EMAIL PROTECTED] wrote : 
> ID: 14879
> Updated by: jimw
> Reported By: [EMAIL PROTECTED]
> 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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to