Prohibited characters in variable names in PHP

There are some characters that can not be used in PHP for variables naming. For example dash (-) symbol cannot be used in a variable name, please consider replacing a dash symbol with an underscore.

Variables cannot start with a number, even so they can contain one.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator