Why three different PHP versions?

Why did PHP teams get three different stable PHP versions on the go? They are: 5.6, 5.5, 5.4 and they recently released version 7 alpha.

Can anyone tell me why the PHP team decided that three different stable PHP versions were a good idea? And can I suggest that it's best to go straight to 5.7 and clean up my code?

I don't think my requirements are exotic - I'm not crunching data, I'm just using verified PHP data to read / write to MySQL - no rocket.

Problem? My old WAMP Zend v6 Community Edition runs PHP 5.5.7, and my new AWS minicomachine is using 5.3.29 (Build date May 2015, but oddly enough AWS standardized back to 5.3). I ran into a bug with json_encode()

. When I realized that I have two different versions of PHP, I think I am best off updating them to similar versions. So I think 5.7 is probably the best option for future support. Comments are welcome.

+3


source to share


1 answer


Older versions are less supported than newer versions, however older versions do exist due to their popularity in today's production.



+1


source







All Articles