set_time_limit(600);
pcntl_signal(SIGTERM,"timeIsUp");$first=true;while(true){if($first)print"Where do you want to go?\n";elseprint"I don't know. Where do you want to go?\n";$first=false;}function timeIsUp($signo){
goto("Subway");}