MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz in Php
→
_ What will be the output of the following PHP cod..
1.
_ What will be the output of the following PHP code ?$?
A.
Error
B.
0
C.
42
D.
84
Answer» B. 0
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