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