Archive for the ‘PHP’ Category

How to Write to STDERR in PHP

Sunday, October 26th, 2008

Writing to standard error in PHP:

   fwrite(STDERR, “hello error string\n”); 

Useful for standalone PHP scripts.