Skip to content

Instantly share code, notes, and snippets.

@stojg
Last active December 11, 2015 20:59
Show Gist options
  • Save stojg/4659419 to your computer and use it in GitHub Desktop.
Save stojg/4659419 to your computer and use it in GitHub Desktop.
<?php
$sorrows = array();
for($days=1;$idx<$days;$days++) { $sorrows[$days] = 'joy' };
foreach($sorrows as $feelings) {
echo mktime(10, 42, 0, 1, 29, 2012).' '.$feelings.PHP_EOL;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment