Is PHP a case-sensitive language?

Asked: May 17, 2023

PHP can be considered 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.

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!