Skip to content

Instantly share code, notes, and snippets.

@WPDC

WPDC/cs0110-3.3-branch-php.php Secret

Created Dec 15, 2015
Embed
What would you like to do?
<?php
if ( $weatherIsSunny && ! $weatherIsRaining && ! $isWorking ) {
echo 'Going to the festival';
} else if ( $movieIsPlaying ) {
echo 'Going to the movies';
} else {
echo 'Staying home';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment