why when i put false in the program, it outputs error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why when i put false in the program, it outputs error?

3rd Oct 2016, 8:48 AM
Andreea Deleu
Andreea Deleu - avatar
4 Answers
+ 1
Please post your code if you want help.
3rd Oct 2016, 9:09 AM
Zen
Zen - avatar
+ 1
Constant names are case sensitive if you use false here. <?php define("MSG", "Hi SoloLearners!", false); echo MSG; ?>
3rd Oct 2016, 1:28 PM
Zen
Zen - avatar
0
<?php define("MSG", "Hi SoloLearners!",false); echo msg; ?>
3rd Oct 2016, 9:21 AM
Andreea Deleu
Andreea Deleu - avatar
0
thank you !
3rd Oct 2016, 3:34 PM
Andreea Deleu
Andreea Deleu - avatar