Q.
What will be the output of the following PHP code?
<?php
$On_e = 1;
$tw_o = 2;
$thre_e = 3;
$fou_r = 4;
echo $on_e / $tw_o + $thre_e / $fou_r;
?> Similar Questions
1.
What will be the output of the following PHP code?
<?php
$x = 5;
$y = 10;
$z = "$x + $y";
echo "$z";
?> 2.
What will be the output of the following PHP code?
<?php
$x = 5;
$y = 10;
$z = "$x + $y";
echo "$z";
?> 3.
What will be the output of the following PHP code?
<?php
$x = 4;
$y = 3;
$z = 1;
echo "$x = $x + $y + $z";
?> 4.
What will be the output of the following PHP code?
<?php
$x = 4;
$y = 3
$z = 1;
$z = $z + $x + $y;
echo "$z";
?> 5.
What will be the output of the following PHP code?
<?php
$x = 3.3;
$y = 2;
echo $x % $y;
?> 6.
What will be the output of the following PHP code?
<?php
$x = 3.3;
$y = 2;
echo $x % $y;
?> 7.
What will be the output of the following PHP code?
<?php
$x = 10;
$y = 4;
$z = 3;
echo $x % $y % $z;
?> 8.
What will be the output of the following PHP code?
<?php
$x = 10;
$y = 4;
$z = 3;
echo ($x % ($y) + $z);
?> 9.
What will be the output of the following PHP code?
<?php
$x = 30;
$y = 20;
$z = 10;
echo $x + $y - $z / ($z - $y);
?> 10.
What will be the output of the following PHP code?
<?php
$x = 30;
$y = 20;
$z = 10;
echo $x + $y - $z / ($z - $y);
?>
PHP TOPICS