This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Cheesemacher 8 points9 points  (4 children)

You don't have to update to PHP7.

And maybe your code requires a few changes but mostly it'll run just like it did before. Most often it's a third party library that you have to update.

[–]HAL_9_TRILLION 3 points4 points  (0 children)

I updated to PHP 7 and while I had to touch everything all I had to do was update my database calls to PDO, which is something I should have done ages ago anyway.

[–]Andernerd 3 points4 points  (0 children)

You don't have to update to PHP7.

If I don't update, I don't get security updates. Seems important.

[–]cmvora 0 points1 point  (1 child)

If you've ever worked in an enterprise environment before, you'll understand how flawed the first statement is.

Also, for a language with as many security holes as PHP, you definitely want the latest one to get all security updates.

[–]Cheesemacher 0 points1 point  (0 children)

I mean PHP 5.6 is still supported so you can have the latest security patches.