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
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
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
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
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
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
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
7 matches
Mail list logo