double output from trigger_error from command line
| From: | Olav Mørkrid | Date: | Tue, 17 Jul 2007 17:21:28 +0000 |
| Subject: | double output from trigger_error from command line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-259028@lists.php.net to get a copy of this message | ||
if i do a trigger_error() when running php scripts from the command
line, each error is echoed twice. this is annoying.
does anyone know how to make each error display only once?
c:\>php -r "trigger_error(\"hello\");"
PHP Notice: hello in Command line code on line 1
Notice: hello in Command line code on line 1