In PHP, variable names can start with a number.

  • TRUE
  • FALSE
In PHP, variable names cannot start with a number. They must begin with a letter or an underscore, followed by any number of letters, numbers, or underscores. While the rules for variable names in PHP are somewhat flexible, they do have these constraints to maintain the clarity and readability of the code. Learn more: https://www.php.net/manual/en/language.variables.basics.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *