Skip to content

Instantly share code, notes, and snippets.

@NandoKstroNet
Created September 22, 2017 16:00
Show Gist options
  • Save NandoKstroNet/6b8ce3734f446038140f3de612642df1 to your computer and use it in GitHub Desktop.
Save NandoKstroNet/6b8ce3734f446038140f3de612642df1 to your computer and use it in GitHub Desktop.
Código criado na postagem sobre laços no PHP da codeexpertslearning.com.br.
<?php
$fruits = ['laranja', 'maçã', 'banana', 'pera'];
$i = 0;
do {
print $fruits[$i] . PHP_EOL;
$i++;
} while ($i < count($fruits));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment