Re: [PHP4BETA] CVS update: php4/ext/pcre
| From: | Andi Gutmans | Date: | Tue, 25 May 1999 20:52:37 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4/ext/pcre | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1027@lists.php.net to get a copy of this message | ||
At 14:10 25/05/99 -0400, Rasmus Lerdorf wrote:
I never found ereg_ to be particularly descriptive of what they do. I don't know, but I like pcre_match and pcre_replace much better than preg and preg_replace. Any other opinions? Well, it may be a bit late in the game to change it. How about a function alias? I don't care if you use pcre_ or preg_ but eliminating preg() and replacing it with preg_match() is probably going to give us some support headaches. If preg_match() is an alias for preg() it should be fine.I think having aliases when not for backwards compatibility is a bad thing to do. We should decide on one set of function names and stick to them. Personally I prefer the preg over pcre. I think it'll be more intuitive for users. Andi --- Andi Gutmans <andi@zend.com> ICQ: 1568297 -- PHP 4 Beta