You are here: Home / Topics / Is PHP a case-sensitive language?

Is PHP a case-sensitive language?

Filed under: PHP on 2022-10-08 08:35:53

PHP can be considered as a partial case-sensitive language. The variable names are completely case-sensitive but function names are not. Also, user-defined functions are not case-sensitive but the rest of the language is case-sensitive.

For example, user-defined functions in PHP can be defined in lowercase but later referred to in uppercase, and it would still function normally.


About Author:
S
Shivam     View Profile
Hi, it's Shivam and this website is very good.