Created
May 23, 2012 16:31
-
-
Save ericmann/2776232 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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