php case sensitive or not

sam
sam
134 Points
62 Posts

Hi,

Is php case sensitive or not?

Views: 8218
Total Answered: 1
Total Marked As Answer: 1
Posted On: 04-Apr-2015 04:14

Share:   fb twitter linkedin
Answers
NiceOne Team
NiceOne...
Admin
404 Points
67 Posts
         

Hi Sam,

PHP is not full case sensitive as follow:

Case sensitive (both user defined and PHP defined)

  • variables
  • onstants
  • array keys
  • class properties
  • class constants

Case insensitive (both user defined and PHP defined)

  • functions
  • class constructors
  • class methods
  • keywords and constructs (if, else, null, foreach, echo etc.)
Posted On: 03-Apr-2015 15:58
 Log In to Chat