Re: A patch to PhD, remove the deprecated ereg_replace function call in PHP 5.3.0

From: Date: Tue, 23 Dec 2008 22:22:06 +0000
Subject: Re: A patch to PhD, remove the deprecated ereg_replace function call in PHP 5.3.0
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969379859@lists.php.net to get a copy of this message
On Tue, Dec 23, 2008 at 18:13, Gang Chen <eniac2008@gmail.com> wrote: > Hello, > > Since the ereg_replace function is deprecated in PHP 5.3.0, when > building PHP docs with PHP 5.3.0, I got too many E_DEPRECATED > messages. To clear the boring messages, I changed the function call to > ereg_replace to preg_replace. Following is the patch: Thanks for the patch, looks good. For future reference, please send 'unified diffs' (cvs diff -u), as they are way more readable :) Philip; could you give him karma so he can commit this himself? -Hannes

« previous php.doc (#969379859) next »