[PHP] PHP 5 Backwards Compatability

2006-01-30 Thread Tod Thomas
Is their a list of portability problems to be aware of when switching 
from v4 to v5?  Maybe a table that compares the two?


Thanks.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP 5 Backwards Compatability

2006-01-30 Thread Silvio Porcellana [tradeOver]

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?


Thanks.



You can start here:
http://www.zend.com/php5/migration.php

Silvio

--
tradeOver | http://www.tradeover.net
...ready to become the King of the World?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP 5 Backwards Compatability

2006-01-30 Thread Jochem Maas

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.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php