Examveda
Examveda

Which of the following is not valid PHP code?

A. $_10

B. ${“MyVar”}

C. &$something

D. $10_somethings

E. $aVaR

Answer: Option D


This Question Belongs to PHP >> Basic PHP

Join The Discussion

Comments ( 1 )

  1. Sah Vikash
    Sah Vikash :
    3 years ago

    Because variable name can't be started with digits

Related Questions on Basic PHP