Daily Archives: October 26, 2008

How to Write to STDERR in PHP

Writing to standard error in PHP:    fwrite(STDERR, “hello error string\n”);  Useful for standalone PHP scripts.

Leave a comment