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? _ http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_T

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

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

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

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 error_r

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: he

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 li

[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 li