What will be the output of the following PHP code ?
<?php $a = array("hi", "hello", "bye"); foreach ($a as $value) { if (count($a) == 2) print $value; } ?>
A.hihellobye
B.infinite loop
C.hihello
D.no output
Answers
Answered by
0
______✨ HEY MATE ✨______
➡️Option (A) Hihellobye is the right answer ✔️
➡️Option (A) Hihellobye is the right answer ✔️
Answered by
0
hey mate........the answer is
a. hihellobye
a. hihellobye
Similar questions
English,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
India Languages,
1 year ago
History,
1 year ago