PHP 7 sees numbers differently as compared to previous versions of PHP. If you encounter this error: "Invalid numeric literal" then it is usually with the way you are using "0".
In some cases an easy solution is to encapsulate the number. For instance: