Auto correct in function calls?

I noticed a strange behaviour while this Excercise:

When I call th function with a typo in my function call:

The function ist still executed. O_o

Is there something like auto-correct in PHP or the codecademy Plattform?

Not so much auto-correct, rather the fact that function names are case-insensitive in PHP.

Function names are case-insensitive for the ASCII characters A to Z , though it is usually good form to call functions as they appear in their declaration.

So that’s for function names. Note that variables names, however, are case-sensitive.

1 Like

Ah got it :slight_smile: Thanks alot!

1 Like