Difference In PHP Versions
Moderator: General Moderators
Difference In PHP Versions
Hi, I just noticed that my online server has php version 5.2.17 whereas my local WAMP server is on version 5.3.4. Is there much difference, if i build my whole application on my local server and then upload it will i be inundated with errors and left with another year of error corrections?
Re: Difference In PHP Versions
You could check the differences on the PHP.net website, I believe, but generally, versions that are not whole number changes (PHP4 to PHP5) are mostly, if not entirely, backward compatible. There will surely be a few added functions in the new version, but I wouldn't expect major differences that would affect most applications. Disclaimer: I am not an expert in this area, so I will defer to anyone who has more complete knowledge than I have.
Re: Difference In PHP Versions
There are serious differences between 5.2 and 5.3 - some new features available in 5.3 like namespaces, closures and anonymous functions won't even parse in 5.2