Re: [PHP4BETA] CVS update: php4/ext/pcre
| From: | Kristian Köhntopp | Date: | Wed, 26 May 1999 06:32:36 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4/ext/pcre | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1058@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
> > Ok, I'll make function aliases then.
>
> We could document the functions as preg_match()
> and preg_replace() in PHP4 and similarly add an alias
> so we have ereg_match() and ereg_replace() and document
> these as the official function names but still leave
> aliases for preg() and ereg() in the code to avoid
> backward compatibility problems.
I also would like to get compile time warnings for aliases as an
option. This will allow me to upgrade my code.
Kristian
--
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.shonline.de/ (GPL)
--
PHP 4 Beta