问题
I'm currently building a website for my university assignment using local server XAMPP running PHP 7.1.1 but then I just found out that the university server is running an older PHP server version (I believe PHP 5.x) and all my PHP functions won't work at all.
So I wonder: if I want to make it work with the university server, do I just need to change syntax to match PHP 5.x? Because now I have no idea what are the differences between PHP 7.x and 5.x.
Can anyone clarify this for me?
回答1:
You could start from the official documentation, if you want to migrate from 5.x to 7.x
来源:https://stackoverflow.com/questions/44275096/php-7-vs-php-5-changes-in-functions