What will be the output of the following PHP code? [code] <?php for(++$i; ++$i; ++$i) { print $i; if ($i == 4) break; } ?> [/co

Ánh Dương

New member
What will be the output of the following PHP code?
Code:
<?php
for(++$i; ++$i; ++$i)
{
    print $i;
    if ($i == 4) 
        break;
}
?>
A. 24
B. 134
C. 1234
D. 1
 

Tìm kiếm

Back
Top