The function ignore_user_abort() - what is a script's tty?
I'm trying to understand what is meant by a script tty:
When running PHP as a command line script, and the script's tty goes away without the script being terminated then the script will die the next time it tries to write anything, unless value is set to TRUE
Every shell program runs with stdin,stdout,stderr and the stdout & stderr default to /dev/ttyX ... the console for the logged in user
if you launch php like php myprogram.php 1>output.txt 2>error.txt then the results will be retained to combine both out+err into one file use php myprogram.php >results.txt 2>&1