1
Migrating to PHP 7 I’m getting the following error: Invalid numeric literal
For example: $itau = new Conta(1620, 030818);
PHP will return an error
Parse error: Invalid Numeric literal in index.php on line 35
How to solve this problem in case I need to 0
stay to the left?
Send as string, that zero in front must be an invalid octal.
– rray
They already asked that question on another topic, see if it helps you
– Leonardo
That zero left already comes or you add it?
– rray
In case of my mistake it was I who added.
– Raizant