If you need to write PHP command line scripts and you need to print some errors on STDERR you can use the following code.
Print to Standard Error STDERR
Leave a reply
If you need to write PHP command line scripts and you need to print some errors on STDERR you can use the following code.