exit a do while return php code example Example: do while php <?php $i = 0; do { echo $i; } while ($i > 0); ?>