Re: Re: Supporting php4 and php5 E_STRICT with the same package name
| From: | Joshua Eichorn | Date: | Mon, 10 Jul 2006 21:24:44 +0000 |
| Subject: | Re: Re: Supporting php4 and php5 E_STRICT with the same package name | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43355@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
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. So that leaves me with constructors on 3 classes as the problem. This whole issue just makes me hate php. 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. -joshSo the PEAR rules love to change package names Package Package2 etc. For a lot of reasons I don't want to change the name, but I want to support both php4 and php5 E_STRICT for my 1.0 release.Thats more or less impossible unless you dont use any static method calls and constructor. However it will fail atleast once you want to do error handling. regards, Lukas All the error handling happens on the JavaScript side, so there really isn't any thing to worry about there.