Re: [PHP4BETA] CVS update: php4/ext/pcre

From: Date: Wed, 26 May 1999 10:11:50 +0000
Subject: Re: [PHP4BETA] CVS update: php4/ext/pcre
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1062@lists.php.net to get a copy of this message
On Tue, 25 May 1999, Andrey Zmievski wrote: > Rasmus Lerdorf wrote: > > I agree completely on the aliases thing. But it sort of was for backward > > compatibility purposes. > > > > We have ereg() and ereg_replace() currently. The proposal was to > > introduce: preg_match() and preg_replace() where preg_match() would be > > equivalent in functionality to ereg(). This is where I suggested we might > > want to make an alias such that preg() did the same as preg_match() to > > help the folks who would expect the preg() function to exist. I guess > > not a pure backward compatibility alias, but close. I definitely wasn't > > suggesting aliasing pcre_* to preg_* > -- End of excerpt from Rasmus Lerdorf > > Ok, how about this. There will be preg_match, preg_replace, and preg_split, > and we can also alias preg to preg_match. Would that satisfy the majority? Aye. - The Majority -- PHP 4 Beta

« previous php.version4 (#1062) next »