# [RFC] Error message formatting for development

- Thread: https://externals.io/message/54217
- Original archive: https://news-web.php.net/php.internals/54217
- Started by Derick Rethans on 2011-07-26T21:51:08+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #54217 — Derick Rethans — 2011-07-26T21:51:08+00:00

URL: https://externals.io/message/54217#54217

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

---

## #54220 — Matthew Weier O'Phinney — 2011-07-27T14:16:59+00:00

URL: https://externals.io/message/54217#54220 · In reply to: #54217

> 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

---

## #54223 — Ferenc Kovacs — 2011-07-27T18:58:58+00:00

URL: https://externals.io/message/54217#54223 · In reply to: #54220

On Wed, Jul 27, 2011 at 4:16 PM, Matthew Weier O'Phinney
<weierophinney@php.net> wrote:
> 
> > […]
>
> 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
