πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$num = 8;
while (--$num > 0 || ++$num)
{   
    print $num;
}
?>
  • (A) 76543211111111......infinite time
  • (B) Error
  • (C) Nothing
  • (D) 7654321
πŸ’¬ Discuss
βœ… Correct Answer: (A) 76543211111111......infinite time

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
32114
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
88%
Success Rate