Friday, 2 January 2015

Variable Declaration

Variables are "containers" for storing information. Variables are represented '$' symbol in the PHP language.

A variable starts with the $ sign, followed by the name of the variable

A variable name must begin with a letter or the underscore character

A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )

A variable name should not contain spaces

Variable names are case sensitive ($y and $Y are two different variables)









The result is =11;


This entry was posted in :

0 comments:

Post a Comment