HOW VARIABLE IS DECLARED IN PHP?

Samuel Fernandes

Total Post:38

Points:190
Posted by  Samuel Fernandes
PHP 
PHP
 233  View(s)
Ratings:
Rate this:
  1. Samuel Fernandes

    Post:38

    Points:190
    How variable is declared in PHP?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!