Skip to content

Instantly share code, notes, and snippets.

@flavio-araujo
Last active August 29, 2015 14:07
Show Gist options
  • Save flavio-araujo/98a954af451d69d6daf4 to your computer and use it in GitHub Desktop.
Save flavio-araujo/98a954af451d69d6daf4 to your computer and use it in GitHub Desktop.
Código PHP. Testando a funcionalidade do Gist de inserir descrição e dando nome ao arquivo
<?php
$arr = array(1, 2, 3, 4);
foreach ($arr as &$value) {
$value = $value * 2;
}
unset($value);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment