-1

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 ?

Jurgo
  • 907
  • 4
  • 18
dipmala
  • 11

1 Answers1

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