"> What will be the output of the following PHP code ? < ?php int $one = 1; ec "> " /> " />
Sail E0 Webinar
Question
What will be the output of the following PHP code ?
< ?php
int $one = 1;
echo "$one";
?>
Options:
A .  0
B .  1
C .  $one
D .  Error
Answer: Option D


Unlike other programming languages there are no data types in PHP.



Was this answer helpful ?

Submit Solution

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

Latest Videos

Latest Test Papers