What is the difference between case-insensitive and sensitive? | 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-insensitive and sensitive?

hello, so i started learning php and i am stuck here . what is the difference between case sensitive and insensitive? thanks previously.

14th Jun 2017, 2:53 PM
Enmay Mk
Enmay Mk - avatar
2 Answers
+ 1
case sensitive : you must input the exact value, including uppercase and lowercase alphabet.. ex (hello, HeLLo) = false , (hello, hello) = true insensitive : it doesn't mind wether its (hello, HeLLo) or ( Heyyy, HeYyY) wil always true as long as the alphabet is right..
14th Jun 2017, 3:08 PM
Bagus Prakoso
Bagus Prakoso - avatar
+ 3
The case of a font is the difference between uppercase and lowercase... Sensitive: it feel the difference between both. (there's two different A -- 'a' := 'A') Insentive: it don't feel/see the difference and consider lowercase equal to uppercase (it's a A, whatever it's 'a' or 'A' -- 'a' == 'A')
14th Jun 2017, 5:01 PM
visph
visph - avatar