[RFC] Error message formatting for development

php.internals

Derick Rethans

15 years ago
Hi, I just added an RFC for restoring error message formatting so that developers can easier develop their applications: https://wiki.php.net/rfc/error-formatting-for-developers Derick

Matthew Weier O'Phinney

15 years ago
On 2011-07-26, Derick Rethans <derick@derickrethans.nl> wrote:
> I just added an RFC for restoring error message formatting so that > developers can easier develop their applications: > > https://wiki.php.net/rfc/error-formatting-for-developers
This makes complete sense to me. One question, however: can I assume that the html_errors setting has no effect in the CLI SAPI? That would be my only concern during development, as I'm typically running unit tests and whatnot from the CLI.
-- Matthew Weier O'Phinney Project Lead | matthew@zend.com Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

Ferenc Kovacs

15 years ago
On Wed, Jul 27, 2011 at 4:16 PM, Matthew Weier O'Phinney <weierophinney@php.net> wrote:
> On 2011-07-26, Derick Rethans <derick@derickrethans.nl> wrote: >> I just added an RFC for restoring error message formatting so that >> developers can easier develop their applications: >> >> https://wiki.php.net/rfc/error-formatting-for-developers > > This makes complete sense to me. One question, however: can I assume > that the html_errors setting has no effect in the CLI SAPI? That would > be my only concern during development, as I'm typically running unit > tests and whatnot from the CLI. >
the html_errors for cli is always off: http://lxr.php.net/opengrok/xref/PHP_5_3/sapi/cli/php_cli.c#121
-- Ferenc Kovács @Tyr43l - http://tyrael.hu