mirror of
https://github.com/php/doc-es.git
synced 2026-03-25 16:02:13 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@329367 c90b9560-bf6c-de11-be94-00142212c4b1
286 lines
8.8 KiB
XML
286 lines
8.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 04b11e621f6ccf857368d90262f051a8d40c865d Maintainer: seros Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<appendix xml:id="errorfunc.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants.core;
|
|
<note>
|
|
<simpara>
|
|
Se pueden usar estos nombres de constantes en &php.ini; pero no fuera
|
|
de PHP, como en &httpd.conf;, donde se deberían
|
|
usar en su lugar valores de máscara de bits.
|
|
</simpara>
|
|
</note>
|
|
<table xml:id="errorfunc.constants.errorlevels">
|
|
<title>Errores y Registro</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>Valor</entry>
|
|
<entry>Constante</entry>
|
|
<entry>Descripción</entry>
|
|
<entry>Nota</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="errorfunc.constants.errorlevels.e-error">
|
|
<entry>1</entry>
|
|
<entry>
|
|
<constant>E_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Errores Fatales en tiempo de ejecución. Éstos indican errores que no se pueden
|
|
recuperar, tales como un problema de asignación de memoria.
|
|
La ejecución del script se interrumpe.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-warning">
|
|
<entry>2</entry>
|
|
<entry>
|
|
<constant>E_WARNING</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Advertencias en tiempo de ejecución (errores no fatales). La ejecución del script no se
|
|
interrumpe.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-parse">
|
|
<entry>4</entry>
|
|
<entry>
|
|
<constant>E_PARSE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Errores de análisis en tiempo de compilación. Los errores de análisis deberían ser generados
|
|
únicamente por el analizador.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-notice">
|
|
<entry>8</entry>
|
|
<entry>
|
|
<constant>E_NOTICE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Avisos en tiempo de ejecución. Indican que el script encontró algo que
|
|
podría señalar un error, pero que también podría ocurrir en el curso normal al
|
|
ejecutar un script.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-core-error">
|
|
<entry>16</entry>
|
|
<entry>
|
|
<constant>E_CORE_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Errores fatales que ocurren durante el arranque incial de PHP. Son como un
|
|
<constant>E_ERROR</constant>, excepto que son generados por el núcleo de PHP.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-core-warning">
|
|
<entry>32</entry>
|
|
<entry>
|
|
<constant>E_CORE_WARNING</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Advertencias (errores no fatales) que ocurren durante el arranque inicial de PHP.
|
|
Son como un <constant>E_WARNING</constant>, excepto que son generados
|
|
por el núcleo de PHP.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-compile-error">
|
|
<entry>64</entry>
|
|
<entry>
|
|
<constant>E_COMPILE_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Errores fatales en tiempo de compilación. Son como un <constant>E_ERROR</constant>,
|
|
excepto que son generados por Motor de Script Zend.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-compile-warning">
|
|
<entry>128</entry>
|
|
<entry>
|
|
<constant>E_COMPILE_WARNING</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Advertencias en tiempo de compilación (errores no fatales). Son como un
|
|
<constant>E_WARNING</constant>, excepto que son generados por Motor
|
|
de Script Zend.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-user-error">
|
|
<entry>256</entry>
|
|
<entry>
|
|
<constant>E_USER_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Mensaje de error generado por el usuario. Es como un
|
|
<constant>E_ERROR</constant>, excepto que es generado por código de PHP mediante
|
|
el uso de la función de PHP <function>trigger_error</function>.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-user-warning">
|
|
<entry>512</entry>
|
|
<entry>
|
|
<constant>E_USER_WARNING</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Mensaje de advertencia generado por el usuario. Es como un
|
|
<constant>E_WARNING</constant>, excepto que es generado por código de PHP mediante
|
|
el uso de la función de PHP <function>trigger_error</function>.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-user-notice">
|
|
<entry>1024</entry>
|
|
<entry>
|
|
<constant>E_USER_NOTICE</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Mensaje de aviso generado por el usuario. Es como un
|
|
<constant>E_NOTICE</constant>, excepto que es generado por código de PHP mediante
|
|
el uso de la función de PHP <function>trigger_error</function>.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-strict">
|
|
<entry>2048</entry>
|
|
<entry>
|
|
<constant>E_STRICT</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Habilítelo para que PHP sugiera cambios
|
|
en su código, lo que asegurará la mejor interoperabilidad
|
|
y compatibilidad con versiones posteriores de PHP de su código.
|
|
</entry>
|
|
<entry>Desde PHP 5 pero no incluidoen <constant>E_ALL</constant> hasta PHP 5.4.0</entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-recoverable-error">
|
|
<entry>4096</entry>
|
|
<entry>
|
|
<constant>E_RECOVERABLE_ERROR</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Error fatal capturable. Indica que ocurrió un error probablemente
|
|
peligroso, pero no dejó al Motor en un estado inestable. Si no se captura
|
|
el error mediante un gestor definido por el usuario (vea también
|
|
<function>set_error_handler</function>), la aplicación se abortará como si
|
|
fuera un <constant>E_ERROR</constant>.
|
|
</entry>
|
|
<entry>Desde PHP 5.2.0</entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-deprecated-error">
|
|
<entry>8192</entry>
|
|
<entry>
|
|
<constant>E_DEPRECATED</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Avisos en tiempo de ejecución. Habilítelo para recibir avisos sobre código
|
|
que no funcionará en futuras versiones.
|
|
</entry>
|
|
<entry>Desde PHP 5.3.0</entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-user-deprecated">
|
|
<entry>16384</entry>
|
|
<entry>
|
|
<constant>E_USER_DEPRECATED</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Mensajes de advertencia generados por el usuario. Son como un
|
|
<constant>E_DEPRECATED</constant>, excepto que es generado por código de PHP mediante
|
|
el uso de la función de PHP <function>trigger_error</function>.
|
|
</entry>
|
|
<entry>Desde PHP 5.3.0</entry>
|
|
</row>
|
|
|
|
<row xml:id="errorfunc.constants.errorlevels.e-all">
|
|
<entry>32767</entry>
|
|
<entry>
|
|
<constant>E_ALL</constant>
|
|
(<type>integer</type>)
|
|
</entry>
|
|
<entry>
|
|
Todos los errores y advertencias soportados, excepto del nivel
|
|
<constant>E_STRICT</constant> antes de PHP 5.4.0.
|
|
</entry>
|
|
<entry>
|
|
32767 en PHP 5.4.x,
|
|
30719 en PHP 5.3.x,
|
|
6143 en PHP 5.2.x,
|
|
2047 anteriormente
|
|
</entry>
|
|
</row>
|
|
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<para>
|
|
Los valores de arriba (numéricos o simbólicos) se usan para construir
|
|
una máscara de bits que especifica qué errores notificar. Se pueden usar los
|
|
<link linkend="language.operators.bitwise">operadores a nivel de bit</link>
|
|
para combinar estos valores o para enmascarar ciertos tipos de errores. Observe
|
|
que sólo serán interpretados '|', '~', '!', '^' y '&' dentro de
|
|
&php.ini;.
|
|
</para>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|