Invalid Numeric Literal

Invalid Numeric Literal - Computer Issues, Video Gaming - Posted: 5th Nov, 2018 - 4:10pm

Text RPG Play Text RPG ?
 

Posts: 1 - Views: 338
PHP Hypertext Preprocessor Code Discussion
5th Nov, 2018 - 4:10pm / Post ID: #

Invalid Numeric Literal

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:

international CODE
$var=00;

Could be used as…
international CODE
$var="00";



Sponsored Links:

 
> TOPIC: Invalid Numeric Literal
 

▲ TOP


International Discussions Coded by: BGID®
ALL RIGHTS RESERVED Copyright © 1999-2024
Disclaimer Privacy Report Errors Credits
This site uses Cookies to dispense or record information with regards to your visit. By continuing to use this site you agree to the terms outlined in our Cookies used here: Privacy / Disclaimer,