Articles → PHP → Variables In PHP
Variables In PHP
- XAMPP is installed on your machine
- Any text editor like Notepad
What Is A Variable?
How To Declare And Initialize As Variable?
- A variable name starts with a dollar ($) sign
- First character in the variable name should be either the alphabet or underscore (_)
- Numbers, alphabets, and underscore are the permissible characters in the variable name
- No special characters are allowed for variable name
- Spaces are not allowed between variables
- Variables are case sensitive
How To Assign Value To A Variable?