Re: Compatibility problems with PHP 5
| From: | Daniel Convissor | Date: | Fri, 28 Nov 2003 17:22:21 +0000 |
| Subject: | Re: Compatibility problems with PHP 5 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5794@lists.php.net to get a copy of this message | ||
On Fri, Nov 28, 2003 at 10:04:39AM +0100, Derick Rethans wrote:
>
> Strict is strict, that's the whole point. You can either fix your code
> or disable strict.
The "fixed" code can't run on PHP 4. This strict idea needs a minor
reevaluation. Using var in PHP 5 isn't really "broken" and in order to
run code that can run on both 4 and 5 users need to jump through hoops
and, more importantly, disable the strict checking, which causes them to
miss REAL deprication problems.
--Dan
--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409