PHP is case sensitive that is mentioned in the PHP manual. For display array
we use print_r()
which is an built-in array
function of PHP then why print_R()
is working ?
Asked
Active
Viewed 134 times
-1
-
2A quick search on SO or Google could have answered this for you - http://stackoverflow.com/a/5643544/138383 – Aaron W. Sep 06 '12 at 12:07
-
1It's not case sensitive, [Codepad](http://codepad.org/K4001zDI) – Mihai Iorga Sep 06 '12 at 12:07
-
Functions and methods names are not case-sensitive. But variables names are case-sensitive. – Rohan Patil Oct 05 '12 at 09:08
1 Answers
0
See below url:-
Are PHP functions case sensitive?
http://www.wellho.net/mouth/93_Case-Sensitive-.html
Read it
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 is case-sensitive, there were a vote for making functions/objects under PHP5 case-sensitive.

Community
- 1
- 1

Abid Hussain
- 7,724
- 3
- 35
- 53