Invalid Numeric Literal

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

Text RPG Play Text RPG ?
 

Posts: 1 - Views: 537
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:

Attached Image CODE
$var=00;

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



Sponsored Links:
Post Date: Mon Nov 4 17:48:23 GMT 2024 / Post ID: #

Invalid Numeric Literal

Add Comment
I think invalid numeric literal needs to be emphasized speedily so maybe hopefully get and seperate fact from fiction.



Comment Add Comment As A Guest
Important Guest, please be considerate by using the appropriate tags as well as checking your grammar before submitting or it will be deleted. See: Constructive Posting Policy.

# Characters:
0
# Words:
0
# Sentences:
0
# Paragraphs:
0
Reading Time:
0
Optional:
Search

Tip TIP: Press above button ONCE only. If you come back here via the [Back] button on your browser then you will need to click [More Options] button (below) first in order to re-enable your ability to Post.

 
> TOPIC: Invalid Numeric Literal
 



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,