Has anyone seen comparison of speed of those 2? Is php5 better and how much better is it?
I haven’t seen any actual benchmarks, but the PHP team claimed greatly improved performance.
You shouldn’t even bother with anything below PHP 5.3 now. So it doesn’t actually matter which is faster. Everything below 5.3 are no longer supported and no longer get security updates.
Speed is the least of your issues if you’re using PHP4.
Here are some benchmarks of PHP 5.4 from PHP Internals.