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

7th Nov 2020, 3:48 PM
Maroseios
Maroseios - avatar
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
7th Nov 2020, 4:26 PM
Ipang
+ 1
Thanks for help full massage ..
7th Nov 2020, 4:30 PM
Maroseios
Maroseios - avatar