Case sensitive (both user-defined and PHP defined)
Case insensitive (both user defined and PHP defined)
In php.net
Basics
Variables in PHP are represented by a dollar sign followed by the name of the variable. The variable name is case-sensitive.
Variable names follow the same rules as other labels in PHP. A valid variable name starts with a letter or underscores, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: '[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*'
'[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*'
Some useful Links
2.1m questions
2.1m answers
60 comments
57.0k users