MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz in Php
→
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?<br><pre class="prettyprint lang-c"><?php<br>$Country = array("INDIA", "ENGLAND", "ISRAEL", "USA");<br>array_pop($Country);<br>print_r($Country);<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$City = array("A"=>"Chennai", "B"=>"Noida", "C"=>"Delhi");<br>echo array_shift($City);<br>print_r ($City);<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Student1 = array("Neha", "Rahul");<br>$Student2 = array("Sujit", "Vivek", "Rohan");<br>print_r(array_merge($Student1, $Student2));<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Student = array ("Ajit", "Rahul", "Ats",<br>"Aju");<br>echo (array_search ("Aju", $Student) );<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Flower = array ("Rose", "Lily ", "Sunflower");<br>echo (next($Flower)); <br>echo (next($Flower));<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Employee = array ("Ajit", "Abhay", array ("Prayag", "Imroj"),<br>"krishana");<br>echo (count($Employee, 1));<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Color = array("Green", "White", "Green", "Red", "Yellow", "White");<br>print_r(array_count_values($Color));<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$EmpName = array("Ajit Kumar Gupta", "Ats Yogi", "Aju Jayaraj");<br>$Salary = array("35000", "37000", "43000");<br>$Result = array_combine($EmpName, $Salary);<br>print_r($Result);<br>?><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Flower = array("Daffodil", "Dahlia", "Daisy", "Daphne", "Delphinium", "Dianella");<br>print_r(array_chunk($Flower, 3));<br>?><br><br><br></pre>
What will be the output of the following PHP code?<br><pre class="prettyprint lang-c"><?php<br>$Profile = array("Ajit"=>"22", "Ats"=>"23", "Aju"=>"24");<br>print_r(array_change_key_case($Profile, CASE_UPPER));<br>?><br></pre>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply