"> What will be the output of the following PHP code ? < ?php $4four = 4; $3th "> " /> " />
Sail E0 Webinar
Question
What will be the output of the following PHP code ?
< ?php
$4four = 4;
$3three = 3;
$2two = 2;
echo "$4four + $3three / $2two - 1";
?>
Options:
A .  4.5
B .  7
C .  3.5
D .  Error
Answer: Option D


A variable name can not start with a numeric value.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers