Is php class name case sensitive?



Is php class name case sensitive?..

Answer / Sourabh Kumar Bhargava

Yes, "PHP Class Names" are case-sensitive. Therefore, a class named "MyClass" would not be the same as "myclass". It's crucial to follow proper naming conventions and be consistent with case when working with classes in PHP.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is mysql_real_escape_string used for?

1 Answers  


Where do I run php code?

1 Answers  


What does $_ post mean in php?

1 Answers  


Which is useful for method overloading?

1 Answers  


Is python similar to php?

1 Answers  


what is the difference between mysql_fetch_array() and mysql_fetch_row()?

17 Answers   Google,


What is the purpose of basename() function in PHP?

1 Answers  


Is false empty php?

1 Answers  


What is namespace in php?

1 Answers  


What is difference between get and post?

1 Answers  


What is meant by public, private, protected, static and final scopes?

1 Answers  


Does php need apache?

1 Answers  


Categories