php case sensitive or not

sam
sam
378 Points
48 Posts

Hi,

Is php case sensitive or not?

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

Share:   fb twitter linkedin
Answers
NiceOne Team
NiceOne...
1390 Points
18 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