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:
Can someone tell me more about invalid numeric literal is a good topic quickly to conceive to get the facts.