Re: [PHP] double output from trigger_error from command line

2007-07-20 Thread Richard Lynch
There's the display_error_in_browser or whatever it is that might be causing the second output... On Wed, July 18, 2007 12:31 pm, Olav Mørkrid wrote: sorry. still get it twice. c:\php -r error_reporting(E_ALL ^ E_NOTICE); trigger_error(\hello\, E_USER_ERROR); PHP Fatal error: hello in

Re: [PHP] double output from trigger_error from command line

2007-07-20 Thread Instruct ICC
From: Richard Lynch [EMAIL PROTECTED] There's the display_error_in_browser or whatever it is that might be causing the second output... From the command line? _

Re: [PHP] double output from trigger_error from command line

2007-07-18 Thread Olav Mørkrid
sorry. still get it twice. c:\php -r error_reporting(E_ALL ^ E_NOTICE); trigger_error(\hello\, E_USER_ERROR); PHP Fatal error: hello in Command line code on line 1 Fatal error: hello in Command line code on line 1 - if i do error_reporting(0) then i get NO lines at all. and if i do

Re: [PHP] double output from trigger_error from command line

2007-07-18 Thread Instruct ICC
From: Olav Mørkrid [EMAIL PROTECTED] sorry. still get it twice. c:\php -r error_reporting(E_ALL ^ E_NOTICE); trigger_error(\hello\, E_USER_ERROR); PHP Fatal error: hello in Command line code on line 1 Fatal error: hello in Command line code on line 1 - if i do error_reporting(0) then i get NO

Re: [PHP] double output from trigger_error from command line

2007-07-18 Thread Instruct ICC
From: Instruct ICC [EMAIL PROTECTED] From: Olav Mørkrid [EMAIL PROTECTED] sorry. still get it twice. c:\php -r error_reporting(E_ALL ^ E_NOTICE); trigger_error(\hello\, E_USER_ERROR); PHP Fatal error: hello in Command line code on line 1 Fatal error: hello in Command line code on line 1 -

[PHP] double output from trigger_error from command line

2007-07-17 Thread Olav Mørkrid
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

RE: [PHP] double output from trigger_error from command line

2007-07-17 Thread Instruct ICC
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

Re: [PHP] double output from trigger_error from command line

2007-07-17 Thread Richard Lynch
On Tue, July 17, 2007 12:21 pm, Olav Mørkrid wrote: 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