Skip to content

Instantly share code, notes, and snippets.

@hypomodern
Created April 2, 2009 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hypomodern/88975 to your computer and use it in GitHub Desktop.
Save hypomodern/88975 to your computer and use it in GitHub Desktop.
/* for dkastner: PHP inject... but not really. ;) */
$whats_a_block = 0;
foreach (array(3, 3, 3, 3) as $i) {
$whats_a_block += $i;
}
echo $whats_a_block; // => 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment