Skip to content

Instantly share code, notes, and snippets.

@tomasfejfar
Last active January 1, 2021 12:20
Show Gist options
  • Save tomasfejfar/94e6982e85a1fd9e7d36e4367d942b81 to your computer and use it in GitHub Desktop.
Save tomasfejfar/94e6982e85a1fd9e7d36e4367d942b81 to your computer and use it in GitHub Desktop.
<?php
/* my day code */
foreach ($minuteOfMyLife as $now => $whereAmI) {
if ($whereAmI == 'atHome') {
look_after_Honza();
} elseif ($whereAmI == 'atWork') {
code();
} else {
ride_my_bike();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment