Page 1 of 1
Upgrading to from PHP 4.4.3 to 5.2
Posted: Fri Aug 31, 2007 12:37 pm
by icesolid
I am currently running PHP 4.4.3 and I have been reading into upgrading to PHP 5.2 (PHP's recommendation on their downloads page).
My question is, all of the code I have program thus far works fine in 4.4.3, how many changes if any am I going to need to make to my code to make it compliant with PHP 5.2?
Posted: Fri Aug 31, 2007 12:47 pm
by Zoxive
Have you tried it?
Most likely little to none.
Posted: Fri Aug 31, 2007 1:01 pm
by icesolid
OK.
Is 5.2 really worth the upgrade? Security improved?
It seems like it is. As I use the PHP manual for building my code I see that there are a lot of new things available in 5 that 4 does not have and I am wanting to get my hands on them.
Posted: Fri Aug 31, 2007 3:37 pm
by volka
icesolid wrote:I see that there are a lot of new things available in 5 that 4 does not have and I am wanting to get my hands on them.
Doesn't that alone make the answer to
icesolid wrote:Is 5.2 really worth the upgrade?
"yes"?
http://www.php.net/index.php#2007-07-13-1 wrote:PHP 4 end of life announcement
[13-Jul-2007]
Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.
see also
http://gophp5.org/