Skip to main content

What will be the output of the following PHP code?

<?php
$i = 0;
do {
$i++;
}
while ($i < 3);
print $i;
?>

Comments