MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz in Php
→
What will be the output of the following PHP code ..
1.
What will be the output of the following PHP code ?%!
A.
no output
B.
true 23
C.
true 22
D.
true 33
Answer» C. true 22
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following PHP code ?<?phpecho "Hello World"?>
What will be the output of the following PHP code ?<?php # echo "Hello world"; echo "# Hello world";?>
What will be the output of the following PHP code ?<?php$color = "red";echo "$color";echo "$COLOR";echo "$Color";?>
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;?>
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";?>
What will be the output of the following PHP code ?<?php$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z;?>
What will be the output of the following PHP code ?<?php$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x;?>
What will be the output of the following PHP code ?<?php$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y);?>
What will be the output of the following PHP code ?<?php$hello = "Hello World";$bye = "Bye";echo $hello;"$bye";?>
What will be the output of the following PHP code ?<?php$x = 5;{$x = 10;echo "$x";}echo "$x";?>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply