I noticed a strange behaviour while this Excercise: https://www.codecademy.com/courses/learn-php/lessons/logical-operators-and-compound-conditions/exercises/the-not-operator
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
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.