Skip to content

Instantly share code, notes, and snippets.

@NandoKstroNet
Last active September 22, 2017 15:45
Show Gist options
  • Save NandoKstroNet/e5a79df0f4945a424f64f5a3189b6a7f to your computer and use it in GitHub Desktop.
Save NandoKstroNet/e5a79df0f4945a424f64f5a3189b6a7f 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;
while($i < count($fruits)) {
print $fruits[$i] . PHP_EOL;
$i++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment