A
Q. What will be the output of the following PHP code ?
Code:
<?php
$name = array("Neha", "Sumi", "Abhay");
for (;count($name) < 5;)
{
if (count($name) == 3)
print $name;
}
?>
$name = array("Neha", "Sumi", "Abhay");
for (;count($name) < 5;)
{
if (count($name) == 3)
print $name;
}
?>
- Correct Answer - Option(A)
- Views: 18
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.