Skip to content

Instantly share code, notes, and snippets.

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