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