@ -68,3 +68,9 @@ function puzzle(string $input, bool $returnTopValue = false) : int {
return array_shift($variables);
}
echo 'First challange solution:'.PHP_EOL;
echo puzzle(trim(file_get_contents(dirname(__FILE__).'/input.txt'))).PHP_EOL.PHP_EOL;
echo 'Second challange solution:'.PHP_EOL;
echo puzzle(trim(file_get_contents(dirname(__FILE__).'/input.txt')), true).PHP_EOL.PHP_EOL;