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.
Error
B.
$msg
C.
0
D.
Will this work
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
strlen() returns the length of the string on success and . . . . if the string is empty.~!
The arguments in a function are evaluated from .....%!
Returning values from functions may include .....%!
The below statement will return.$Var = substr(""abcdef"", -4, 1);%!
It is always necessary to use parentheses with the print function.%!
¬¨‚Ä . . . . returns a new DateTime object.%!
What will be the output of the following PHP code?<?php $str = "Hello world. It's a beautiful day."; print_r (explode(" ",$str));?>%!
What will be the output of the following PHP code?<?phpfunction sayHello(){ echo "HelloWorld<br />";}$function_holder = "sayHello";$function_holder();?>%!
What will be the output of the following PHP code?<?php echo str_pad("Salad", 5)." is good.";?>%!
Which one of the following functions can be used to compress a string?%!
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply