

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code ? <?php $a = 2; if ($a-- - --$a - $a) print "hello"; else print "hi"; $a = "hello"; if ($a.length) print $a.length; else print "hi"; ?> |
A. | Hellolength |
B. | 5 |
C. | Hi |
D. | Error |
Answer» B. 5 | |