MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz
→
PHP s numerically indexed array begin with positio...
1.
PHP s numerically indexed array begin with position ___________.
A.
0
B.
-1
C.
2
D.
1
E.
None of these
Answer» B. -1
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following PHP code?<?php$Country = array("INDIA", "ENGLAND", "ISRAEL", "USA");array_pop($Country);print_r($Country);?>
What will be the output of the following PHP code?<?php$City = array("A"=>"Chennai", "B"=>"Noida", "C"=>"Delhi");echo array_shift($City);print_r ($City);?>
What will be the output of the following PHP code?<?php$Student1 = array("Neha", "Rahul");$Student2 = array("Sujit", "Vivek", "Rohan");print_r(array_merge($Student1, $Student2));?>
What will be the output of the following PHP code?<?php$Student = array ("Ajit", "Rahul", "Ats","Aju");echo (array_search ("Aju", $Student) );?>
What will be the output of the following PHP code?<?php$Flower = array ("Rose", "Lily ", "Sunflower");echo (next($Flower)); echo (next($Flower));?>
What will be the output of the following PHP code?<?php$Employee = array ("Ajit", "Abhay", array ("Prayag", "Imroj"),"krishana");echo (count($Employee, 1));?>
What will be the output of the following PHP code?<?php$Color = array("Green", "White", "Green", "Red", "Yellow", "White");print_r(array_count_values($Color));?>
What will be the output of the following PHP code?<?php$EmpName = array("Ajit Kumar Gupta", "Ats Yogi", "Aju Jayaraj");$Salary = array("35000", "37000", "43000");$Result = array_combine($EmpName, $Salary);print_r($Result);?>
What will be the output of the following PHP code?<?php$Flower = array("Daffodil", "Dahlia", "Daisy", "Daphne", "Delphinium", "Dianella");print_r(array_chunk($Flower, 3));?>
What will be the output of the following PHP code?<?php$Profile = array("Ajit"=>"22", "Ats"=>"23", "Aju"=>"24");print_r(array_change_key_case($Profile, CASE_UPPER));?>
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