Question & Answer: I urgently need CORRECT ANSWER. if you can't solve please don't a…..

9) What will be the output of the following PHP code? <?php ame_ print $name 10; A) 192 B) 10 C) Error D) 0 O b

I urgently need CORRECT ANSWER. if you can’t solve please don’t answer this.

9) What will be the output of the following PHP code?

Expert Answer

 

Answer: c(Error)

FATAL ERROR syntax error, unexpected ‘name’ (T_STRING), expecting variable (T_VARIABLE) or ‘{‘ or ‘$’ on line number 3. That is print $ name * 10;

Correcting the above error: Then answer is 0.

Still stressed from student homework?
Get quality assistance from academic writers!