Re: [PHP] Altering the error_reporting

2008-09-03 Thread Jochem Maas
mike schreef: couldn't a user-defined error handler work for this? http://www.php.net/manual/en/function.set-error-handler.php obviously it would require the script that has the error handler still be parsable. and the OP specified exactly that ... a parse error. maybe a wrapper shell script

Re: [PHP] Altering the error_reporting

2008-09-03 Thread mike
couldn't a user-defined error handler work for this? http://www.php.net/manual/en/function.set-error-handler.php obviously it would require the script that has the error handler still be parsable. but you get the info in the format: handler ( int $errno , string $errstr [, string $errfile [, in

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Jochem Maas
Micah Gersten schreef: This seems like a futile activity. It's a waste of time to have to hunt down an error if you can be told where it is. I suggest spending time improving coding standards that error chasing. besides, try grepping the archives for the number of posts that post errors which

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Micah Gersten
This seems like a futile activity. It's a waste of time to have to hunt down an error if you can be told where it is. I suggest spending time improving coding standards that error chasing. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com [EMAIL PROTECTED] wr

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Diogo Neves
On Wed, Sep 3, 2008 at 10:30 PM, Tom Chubb <[EMAIL PROTECTED]> wrote: > 2008/9/3 n3or <[EMAIL PROTECTED]> > > > [EMAIL PROTECTED] schrieb: > > > >> I am looking for a way to alter the error_reporting(E_All) > >> This displays Parse error: parse error, unexpected '}' in > >> /var/www/html/test.php

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Tom Chubb
2008/9/3 n3or <[EMAIL PROTECTED]> > [EMAIL PROTECTED] schrieb: > >> I am looking for a way to alter the error_reporting(E_All) >> This displays Parse error: parse error, unexpected '}' in >> /var/www/html/test.php on line 7 >> >> I want to remove the file location and line number from the error >

Re: [PHP] Altering the error_reporting

2008-09-03 Thread n3or
Diogo Neves schrieb: On Wed, Sep 3, 2008 at 6:55 PM, n3or <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] schrieb: I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Diogo Neves
On Wed, Sep 3, 2008 at 6:55 PM, n3or <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > >> I am looking for a way to alter the error_reporting(E_All) >> This displays Parse error: parse error, unexpected '}' in >> /var/www/html/test.php on line 7 >> >> I want to remove the file location an

Re: [PHP] Altering the error_reporting

2008-09-03 Thread n3or
[EMAIL PROTECTED] schrieb: I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the file location and line number from the error to only produce Parse error: parse error, unexpect

Re: [PHP] Altering the error_reporting

2008-09-03 Thread Diogo Neves
On Wed, Sep 3, 2008 at 6:43 PM, <[EMAIL PROTECTED]> wrote: > I am looking for a way to alter the error_reporting(E_All) > This displays > Parse error: parse error, unexpected '}' in /var/www/html/test.php on line > 7 > > I want to remove the file location and line number from the error > to only

[PHP] Altering the error_reporting

2008-09-03 Thread admin
I am looking for a way to alter the error_reporting(E_All) This displays Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7 I want to remove the file location and line number from the error to only produce Parse error: parse error, unexpected '}' Why? You may ask. I a