PHP is a language that is case sensitive
PHP & upper / lower case
Why is PHP partially case sensitive?
I can only speculate that this is from very early versions, probably PHP / FI 2.0. The manual specifically states:
Note that PHP / FI function names are case-insensitive.
Most of the user input, such as B. GET and POST parameters were always registered as global variables. Treating this information as not being case-sensitive would probably have led to problems, which is why all variables were probably treated as case sensitive.
As far as I know, these were the only types of identifiers in PHP / FI 2.0. All others were introduced later and appear to mimic the names of functions that are not case sensitive.
Constants that are special were not introduced until PHP 4 (the PHP 3 manual mentions "constants", but these are now called "literals"). For some mysterious reason (possibly no consensus could be found) it was decided to allow constant identifier d that distinguishes between upper and lower case for developer discrimination, while uses case sensitive constants by default, the corresponding C counterparts () By default, case is not considered.
- What is parsing and its types
- What mistakes did Google make with Google
- How good is Semalt Auto SEO
- Who is Tilottoma in Hindu Mythology
- Are the Telugu smarter than other Indians
- Which are some good books for GPAT
- Could Los Angeles withstand a mega-quake
- Where does the earth's oxygen come from?
- What does Augustus mean in Latin
- Who's a doctor here
- What is a DLL in software development
- Is KitchenAid a good dishwasher
- Why does a fan cool the air
- Which industry does blockchain belong to?
- How does the Dutch political system work
- Why is President Eisenhower so underestimated these days
- Is Instagram a native app
- Provides Qlikview ad hoc reports
- What are different baseball fields
- Why do people want to ban vaping?
- At what age should I start modeling
- Are there any Pakistani Youtubers
- Are Flipkart reviews real
- Can tomatoes get sunburned