Jump to content

case sensitivity of class name


gurkirat
 Share

Recommended Posts

i have attached a snapshot from W3 site php example for abstract classes, as you can see the object $audi created from the child class audi, is Audi(with capital A) when class is created. Still it runs on their hosting servers, with try it yourself option. but aren't php classes case sensitive.

abstractclasses.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...