Interview QuestionsCategory: PHPWhat are rules we have to follow while naming a PHP variable?
bestonetechnologies Staff asked 2 years ago

What are rules we have to follow while naming a PHP variable?

1 Answers
bestonetechnologies Staff answered 2 years ago

-> Name of the variable must begin with a letter or underscore character.
-> Name of variable can consist of numbers, letters, underscores but we cannot use characters like + , – , % , ( , ) . & , etc

Your Answer

18 + 3 =