0
When i use constant in php .. throw arro ..plz help me (my code) define("num1",87,true); throw an arror. 😕
PHP constant error .. when i call it
2 odpowiedzi
+ 2
It is not an error, it is a warning, the `define` statement in recent PHP standard no longer support case insensitive defined constant name. To get by the warning, just do
define("num1", 87);
"PHP 7.3: Defining case-insensitive constants is deprecated."
Quoted from:
https://www.w3schools.com/PHP/func_misc_define.asp
+ 1
Thanks for help full massage ..