Skip to content

Instantly share code, notes, and snippets.

@wowo
Created November 30, 2010 08:58
Show Gist options
  • Save wowo/721383 to your computer and use it in GitHub Desktop.
Save wowo/721383 to your computer and use it in GitHub Desktop.
XS Jobs tricky question - what will be output of the script?
<?php
foreach (range(1,5) as $value) {
if ($value == 2)
continue
print "$value\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment