Hello Everyone,
I know that , The do...while statement will always execute the block of code once, it will then check the condition, and repeat the loop while the condition is true.
but when i am running this code
<?php
$num = 1;
do
{
$num++;
echo $num;
}
while ($num<=5)
?>
why the ouput is 23456 anhd not 2345 ?