Home > DeveloperSection > Interviews > How variable is declared in PHP?

Posted on    September-26-2016 1:10 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  145  View(s)
Rate this:

Samuel Fernandes
Samuel Fernandes

Total Post:38

Points:190
Posted on    September-26-2016 1:10 AM

In PHP variable should starts with $ sign followed by the name of the variable. Variable name must start with alphabet or underscore and cannot start with a number. Also variable names are case sensitive.

Don't want to miss updates? Please click the below button!

Follow MindStick