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.
True
B.
1
C.
False
D.
2
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What array will you get if you convert an object to an array?%!
What functions count elements in an array?1. count2. Sizeof3. Array_Count4. Count_array%!
What function computes the difference of arrays?%!
Which in-built function will add a value to the end of an array?%!
*/*_What will be the output of the following PHP code ?<?php$people = array("Peter", "Susan", "Edmund", "Lucy");echo pos($people);?>?
*/*_What will be the output of the following PHP code ?<?php$a1 = array("a" => "red", "b" => "green", "c" => "blue", "d" => "yellow");$result = array_flip($a1);print_r($result);?>?
*/*_What will be the output of the following PHP code?<?php$fruits = array ("apple", "mango", "peach", "pear", "orange");$subset = array_slice ($fruits, 2);print_r ($subset);?>?
*/*_What will be the output of the following PHP code?<?php$a1 = array("red", "green");$a2 = array("blue", "yellow");$a3 = array_merge($a1, $a2);$a4 = array("a", "b", "c", "d");$a = array_combine($a4, $a3);print_r($a);?>?
*/*_What will be the output of the following PHP code?<?php$a = array("red", "green", "blue");array_pop($a);print_r($a);?>?
*/*_Which function returns an array consisting of associative key/value pairs??
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply