PHP

Topic: Variables

How do you declaring a variable?

PHP has no command for declaring a variable. 
A variable is created the moment you first assign a value to it. $myCar="Volvo"; 
After the execution of the statement above, the variable myCar will hold the value Volvo.

Browse random answers: