Is PHP a case-sensitive scripting language?

The answer to this is both yes and no. Variables and their declaration in PHP are completely case sensitive while function names are not.

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

Next up on these PHP interview questions for freshers, you need to understand what PEAR is.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *