MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz
→
What will be the output of the following PHP code...
1.
What will be the output of the following PHP code ?<?php$num = range(0, 6);print_r ($num);?>
A.
None of these
Answer» B.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following PHP code?<?php$num = array ("Zero","One", "Two", "Three", "Four","Five");$subset = array_slice ($num, 2);print_r ($subset);?>
What will be the output of the following PHP code?<?php$str = array ("Rahul", "Ajit", "Aju", "Ats");sort($str);print_r($str);?>
What will be the output of the following PHP code?<?php$n = array ("16", "Interview Mania", 10, "4");echo (array_sum ($n));?>
What will be the output of the following PHP code?<?php$City1 = array ("Noida", "Delhi", "Chennai", "Greenville", "Branford");$City2 = array ("Chennai", "Derby", "Enfield", "Delhi", "Greenville");$inter = array_intersect ($City1, $City2);print_r ($inter);?>
What will be the output of the following PHP code?<?php$num = array ("2","3","4", "5", "6", "7", "8", "9", "10");$face = array ("A", "J", "Q", "K");$cards = array_merge ($face, $num);print_r ($cards);?>
What will be the output of the following PHP code?<?php$num = array ("Zero","One", "Two", "Three", "Four","Five");$subset = array_splice ($num, 3);print_r ($subset);?>
What will be the output of the following PHP code?<?php$Name = array ("Neha", "Ajit", "Rahul", "Ats");$Name = array_flip($Name);echo ($Name[0]);?>
What will be the output of the following PHP code ?<?php$name = array("Abhay", "Sujit");array_push($name, "Neha", "Reema");print_r($name);?>
What will be the output of the following PHP code ?<?php$num = range(0, 6);print_r ($num);?>
What will be the output of the following PHP code ?<?php$Student = array("Ajit", "Rahul", "Ats", "Aju");echo pos($Student);?>
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