what is the difference between case sensitive and case insensitive in this basic progm. i dont see much different in output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the difference between case sensitive and case insensitive in this basic progm. i dont see much different in output

15th Jul 2016, 8:10 PM
sathish
3 Answers
+ 3
Case sensitive means php and Php are different whereas case insensitive means they are same.Normally in the programming languages variables and keywords are case sensitive.
16th Jul 2016, 9:30 AM
SURAJ PANDEY
SURAJ PANDEY - avatar
0
There is a valid reason why some code works ony when used in a certain case. Take constant for example. It is best to follow a standard and stick to it. like any language codes will become your second nature. and when time comes it is very difficult to change your style.
16th Jul 2016, 5:37 PM
Tarek Dinaji
Tarek Dinaji - avatar
0
I think the basic reason why there's no visible difference in the output is because the codes are the same as one word. It's pretty much not about the value but about the name. In case sensitive, echo MSG and echo msg would definitely not give the same output. But they would if it was case insensitive.
19th Jul 2016, 10:32 AM
Solomon Ibeh
Solomon Ibeh - avatar