A variable that starts with a number in PHP will result in a ________.
- Syntax Error
- Warning
- Notice
- No Error
In PHP, a variable that starts with a number will result in a Syntax Error. Variable names must start with a letter or underscore in PHP.
Loading...
Related Quiz
- How is a single-line comment denoted in PHP?
- How do you define a destructor in a PHP class?
- A PHP class implements an interface using the implements keyword.
- Which of the following are common uses of multidimensional arrays in PHP?
- Which of the following functions in PHP is used to find the position of the first occurrence of a substring in a string?