downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Clases y Objetos (PHP 4)> <Nuevo Modelo de Objetos
[edit] Last updated: Thu, 23 May 2013

view this page in

Informe de errores

Desde PHP 5, la constante de informe de error E_STRICT queda disponible, con el valor 2048. Cuando se habilite, se emitirán mensajes para alertar del uso de código que ha quedado obsoleto o que podría quedarlo en un futuro.

Nota: E_ALL no incluye E_STRICT, de modo que no está habilitado por omisión. Se puede incluir el nivel de error E_STRICT explícitamente para poder ver sus mensajes.

Revise las Constantes Predefinidas para más información.



add a note add a note User Contributed Notes Informe de errores - [2 notes]
up
1
Anonymous
9 months ago
According to the notes in the php.ini file, E_ALL *does* include E_STRICT; to exclude it you would use E_ALL & ~E_STRICT

This may be useful for someone who has upgraded and kept their old php.ini
up
0
Anonymous
5 years ago
To enable full error reporting (recommended for development boxes) use:

use error_reporting(E_ALL | E_STRICT);

or in php.ini:

error_reporting  =  E_ALL | E_STRICT

 
show source | credits | sitemap | contact | advertising | mirror sites