Re: Re: Supporting php4 and php5 E_STRICT with the same package name

From: Date: Mon, 10 Jul 2006 21:30:33 +0000
Subject: Re: Re: Supporting php4 and php5 E_STRICT with the same package name
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43353@lists.php.net to get a copy of this message
Joshua Eichorn wrote:
And I don't think I use any static methods and if I do im sure i could get rid of there use.
Well the point is not to promote bad API design :/
So that leaves me with constructors on 3 classes as the problem. This whole issue just makes me hate php.
Factories to the rescue ...
Also are there any PEAR rules on part of a package requiring php5, im thinking about adding some XML stuff but it only makes sense in php5 and wouldn't be needed if you don't want those features.
XML in PHP5 is a lot more fun than before, that is for sure. I recently moved from XML_Serializer to SimpleXML .. quite a speed difference too. Though annoyingly you cannot teall SimpleXML to not spit out XML header. regards, Lukas

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