MCQOPTIONS
Bookmark
Saved Bookmarks
→
Php
→
Online Quiz
→
Which of the looping statements is/are supported b...
1.
Which of the looping statements is/are supported by PHP?
A.
for each loop
B.
do-while loop
C.
while loop
D.
for loop
E.
All of above
Answer» F.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What is the value of $a and $b after the function call?<?phpfunction doSomething(&$argument) { $Result = $argument; $argument += 1; return $Result; }$n = 5;$m = doSomething($n);echo "n = " . $n . " and m = " . $m;?>
What will be the output of the following PHP code?<?php$user = array("Ats ", "Ajit ", "Rahul ", "Aju ");for ($str=0; $str < count($user); $str++) {if ($user[$str] == "Rahul ") continue;printf ($user[$str]); }?>
What will be the output of the following PHP code?<?php$math = "25 students";$Science = 35;$math = $math + $Science;echo "$math";?>
What will be the output of the following PHP code?<?php$num = 10120;$num1 = (array) $num;echo $num1[0];?>
What will be the output of the following code?<?php $name = 'Ajit'; $temp = &$name; $temp = "My name is $temp. "; echo $temp;echo $name;?>
What will be the output of the following PHP code?<?php$var = "YELLOW";$var1 = $var[5];echo "$var1";?>
What will be the output of the following PHP code?<?php$State = "Chennai";switch ($State) {case "Mumbai":echo "I love Mumbai. ";case "Chennai":echo "I love Chennai. ";case "Rajshathan":echo "I love Rajshatan. "; }?>
What will be the output of the following code?<?phpfunction track() { static $var = 0; $var++; echo $var; } track(); track(); track();?>
What will be the output of the following PHP code?
What will be the output of the following PHP code?<?php$num = 6;$num1 = 6;echo ($num === $num1);?>
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