Fix(guide): clean up Markdown formatting
This commit is contained in:
committed by
Heather Kusmierz
parent
f0826146e1
commit
88c3b75333
@ -2,7 +2,7 @@
|
|||||||
title: PHP Variables
|
title: PHP Variables
|
||||||
---
|
---
|
||||||
|
|
||||||
### PHP- Vaiables Types
|
### PHP - Vaiables Types
|
||||||
|
|
||||||
Varibles are the main way to store information in the middle way of a PHP program.
|
Varibles are the main way to store information in the middle way of a PHP program.
|
||||||
All variables in PHP are donated with a leading dollar sign like `$variable_name`.
|
All variables in PHP are donated with a leading dollar sign like `$variable_name`.
|
||||||
@ -10,10 +10,10 @@ Variables are assigned with the `= operator` , with the variable on the left-han
|
|||||||
|
|
||||||
### Variable Naming
|
### Variable Naming
|
||||||
|
|
||||||
Rules for naming a variable is listed below:-
|
Rules for naming a variable is listed below:
|
||||||
1. Variables names must begin with a letter or underscores character.
|
1. Variables names must begin with a letter or underscores character.
|
||||||
2.A variable name can consist of numbers, letters, underscores but you cannot use characters like `+ , - , % , ( , ) . &` in its name.
|
2. A variable name can consist of numbers, letters, underscores but you cannot use characters like `+ , - , % , ( , ) . &` in its name.
|
||||||
3.Variable names are case-sensitive i.e. `($age and $AGE are two different variables)`.
|
3. Variable names are case-sensitive i.e. `($age and $AGE are two different variables)`.
|
||||||
|
|
||||||
### Creating (Declaring) PHP Variables
|
### Creating (Declaring) PHP Variables
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user