Are PHP functions case sensitive?

Ben Dauphinee picture Ben Dauphinee · Apr 13, 2011 · Viewed 49.6k times · Source

I was digging through some code, and I found some calls to mySQL_fetch_array. Is PHP case sensitive about function names? I recall reading this somewhere but can't seem to find any reference to it.

Answer

SIFE picture SIFE · Apr 13, 2011

I am quoting from this:

Note: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration.

So, its looks like user-defined functions are not case-sensitive, there was a vote for making functions/objects under PHP5 case-sensitive.