php case sensitive or not

sam
sam
134 Points
62 Posts

Hi,

Is php case sensitive or not?

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

Share:   fb twitter linkedin
Answers
NiceOne Team
NiceOne...
Admin
408 Points
69 Posts
Marked as answer      

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
banner

Blog

Active User (2)

 Log In to Chat