Re: PHP 5 Backwards Compatability

From: Date: Mon, 30 Jan 2006 11:12:24 +0000
Subject: Re: PHP 5 Backwards Compatability
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229460@lists.php.net to get a copy of this message
Tod Thomas wrote:
Is their a list of portability problems to be aware of when switching from v4 to v5? Maybe a table that compares the two?
other than the stuff on php.net (no comparison tables exactly) not really - plenty of people on this list that will help you if you run into problems. sidenote: the reference related fixes introduced into php4.4 (and php5+) can be a PITA, avoid using references unless you.. a, really know what you are doing. b, you really need a reference. ...objects in php5 don't need to be passed around by reference - in fact I suggest the first thing you do when updating your code is to remove reference syntax related to passing around objects :-)
Thanks.


« previous php.general (#229460) next »