?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
var $one = 1;
var $two = 2;
echo $one / $two * $one / $two * $two;
?>
<?php
var $one = 1;
var $two = 2;
echo $one / $two * $one / $two * $two;
?>
Answer & Solution
Correct Answer:
Option
D
You can not use var before a variable name.
Join the Discussion
Login to post a comment or share your explanation.
Login