Home > PHP > How to Write to STDERR in PHP

How to Write to STDERR in PHP

October 26th, 2008 Masao Leave a comment Go to comments

Writing to standard error in PHP:

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

Useful for standalone PHP scripts.

Categories: PHP Tags:
  1. No comments yet.
  1. No trackbacks yet.