mtb211 Posted January 5, 2009 Share Posted January 5, 2009 Hi, Basically im new to php ... ive read online you really should update to php 5 but I asked the guy that we run the server from and he refuses to update to php 5(says theres not a difference) is this total bs? thanks Matt Link to comment https://forums.phpfreaks.com/topic/139525-solved-using-php-4-is-that-okay/ Share on other sites More sharing options...
Mark Baker Posted January 5, 2009 Share Posted January 5, 2009 Basically im new to php ... ive read online you really should update to php 5 but I asked the guy that we run the server from and he refuses to update to php 5(says theres not a difference) is this total bs? It's utter BS to say that there's not a difference between PHP 4 and PHP 5. Take a look at the relevant section of the manual to see, paying particular attention to the section on Backward Incompatible Changes From Gregory Szorc's blog The differences between PHP 4 and PHP 5 are staggering. I consider them to be two separate languages. There's also the trivially minor fact that PHP 5 is still supported, while PHP 4 is not. Link to comment https://forums.phpfreaks.com/topic/139525-solved-using-php-4-is-that-okay/#findComment-729855 Share on other sites More sharing options...
DarkSuperHero Posted January 5, 2009 Share Posted January 5, 2009 there a big noticeable difference if you plan on going on to visit the world of php in Object Oriented detail.... :-P procedural code runs almost the same....with a some differences, and some removed and discontinues funtions and variables. PS- Some hosts, like dreamhost, which i dont use, but a client of mine does, gives the user the option to use either 4 or 5....just some food for thought... :-) Link to comment https://forums.phpfreaks.com/topic/139525-solved-using-php-4-is-that-okay/#findComment-729863 Share on other sites More sharing options...
mtb211 Posted January 5, 2009 Author Share Posted January 5, 2009 ah so hes just being lazy I bet.... so its not vital that i update .... it would make everything easier... Im running plesk 7.4 and theres no auto update and people are telling me to contact my server admin. thx for all the input guys Link to comment https://forums.phpfreaks.com/topic/139525-solved-using-php-4-is-that-okay/#findComment-729879 Share on other sites More sharing options...
GingerRobot Posted January 5, 2009 Share Posted January 5, 2009 This quote: The differences between PHP 4 and PHP 5 are staggering. I consider them to be two separate languages. Is shockingly inaccurate. The major changes were in PHP OO support. That said, the PHP team stopped supporting PHP 4 over a year ago. It really is time to upgrade. Link to comment https://forums.phpfreaks.com/topic/139525-solved-using-php-4-is-that-okay/#findComment-729889 Share on other sites More sharing options...
Mark Baker Posted January 5, 2009 Share Posted January 5, 2009 This quote: The differences between PHP 4 and PHP 5 are staggering. I consider them to be two separate languages. Is shockingly inaccurate. The major changes were in PHP OO support. True it's an exaggeration.... but my posting that quote from Gregory Szorc's blog was a response to the OP's server guy's comment theres not a difference which is the other extreme. There's also some minor issues with register globals, although that behaviour can be modified with a php.ini setting; but general consensus is to use the superglobals $_GET, etc as more secure than relying on global Link to comment https://forums.phpfreaks.com/topic/139525-solved-using-php-4-is-that-okay/#findComment-729899 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.