Skip to content

Instantly share code, notes, and snippets.

@ericmann
Created May 23, 2012 16:31
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 ericmann/2776232 to your computer and use it in GitHub Desktop.
Save ericmann/2776232 to your computer and use it in GitHub Desktop.
void this_is_a_subroutine( $args ) {
if ( check )
return;
do_something();
do_something_else();
if ( check )
return;
do_another_thing();
}
bool this_is_a_value_function( $args ) {
if ( check )
return false;
do_something();
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment