Re: PHP_Compat, signature changes

From: Date: Sat, 28 May 2005 19:28:34 +0000
Subject: Re: PHP_Compat, signature changes
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37858@lists.php.net to get a copy of this message
On Sat, 2005-05-28 at 14:20 -0400, Philippe Jausions wrote: > Stephan Schmidt wrote: > > > I don't think that this can be added in any useful way to PHP_Compat. As > > soon as you use a new name, it cannot be used with applications that do > > not know anything about PHP_Compat as they will always call the built-in > > function. > > Packages that need to rely on the extra/new parameters of those > functions would have a required dependency on PHP_Compat. Of course > there is always the code-duplication solution, but if PHP_Compat has the > functions (regression tested) then it would be a good place to look for > code... I must say, that's silly, if anything then I'd like to be able to just drop PHP_Compat someplace at the top of my application/framework and voila it just works for people on low PHP versions, not that I need to do some extra changing in my code. That just ... defeats the point of PHP_Compat. - Helgi

« previous php.pear.dev (#37858) next »