MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz
→
What will be the output of the following PHP code...
1.
What will be the output of the following PHP code ?<?php$num = 5;print($num);print $num;?>
A.
5
B.
0
C.
Error
D.
Nothing
E.
55
Answer» F.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following PHP code ?<?php$Country1 = "INDIA";$Country2 = "INDIA";print($Country1 == $Country2);?>
What will be the output of the following PHP code ?<?php$Color1 = "YELLOW";$Color2 = "GREEN";print($Color1==$Color2);?>
What will be the output of the following PHP code ?<?phpprint("This"."is"."a"."good"."girl");?>
What will be the output of the following PHP code ?<?phpprint "echo Interview Mania";?>
What will be the output of the following PHP code ?<?php$First = "Ajit";$Second = "Ats";print($First $Second);?>
What will be the output of the following PHP code ?<?php$City = array("Chennai", "Mumbai", "Noida");print $City[2];?>
What will be the output of the following PHP code ?<?php$num = 5;print($num);print $num;?>
What will be the output of the following PHP code ?<?phpecho "it","is"|"a","good"."name";?>
What will be the output of the following PHP code ?<?phpecho "it", "is", "a", "good", "name";?>
What will be the output of the following PHP code ?<?phpecho "Hello Interview Mania<strong>I am learning PHP</strong>"?>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies