svn: /phpdoc/es/trunk/ language/oop5/autoload.xml reference/datetime/timezones.xml reference/errorfunc/functions/error-reporting.xml
| From: | Andrés García | Date: | Mon, 19 Sep 2011 22:06:38 +0000 |
| Subject: | svn: /phpdoc/es/trunk/ language/oop5/autoload.xml reference/datetime/timezones.xml reference/errorfunc/functions/error-reporting.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-4885@lists.php.net to get a copy of this message | ||
andresdzphp Mon, 19 Sep 2011 22:06:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=317028
Log:
updated to the most recent version.
Changed paths:
U phpdoc/es/trunk/language/oop5/autoload.xml
U phpdoc/es/trunk/reference/datetime/timezones.xml
U phpdoc/es/trunk/reference/errorfunc/functions/error-reporting.xml
Modified: phpdoc/es/trunk/language/oop5/autoload.xml
===================================================================
--- phpdoc/es/trunk/language/oop5/autoload.xml 2011-09-19 21:56:45 UTC (rev 317027)
+++ phpdoc/es/trunk/language/oop5/autoload.xml 2011-09-19 22:06:38 UTC (rev 317028)
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 304492 Maintainer: x1v4nx Status: ready -->
+<!-- EN-Revision: 315838 Maintainer: andresdzphp Status: ready -->
+<!-- Reviewed: no -->
+
<sect1 xml:id="language.oop5.autoload" xmlns="http://docbook.org/ns/docbook">
<title>Auto-carga de Clases</title>
<para>
@@ -16,6 +18,14 @@
Al invocar a esta función el motor de scripting está dando una última
oportunidad de cargar la clase antes que PHP falle con un error.
</para>
+ <tip>
+ <para>
+ <function>spl_autoload_register</function> proporciona una alternativa más
+ flexible para la carga automática de clases. Por esta razón, el uso de
+ <function>__autoload</function> no se recomienda y puede ser obsoleta o
+ eliminada en el futuro.
+ </para>
+ </tip>
<note>
<para>
Antes de 5.3.0, las excepciones lanzadas en la función __autoload no
Modified: phpdoc/es/trunk/reference/datetime/timezones.xml
===================================================================
--- phpdoc/es/trunk/reference/datetime/timezones.xml 2011-09-19 21:56:45 UTC (rev 317027)
+++ phpdoc/es/trunk/reference/datetime/timezones.xml 2011-09-19 22:06:38 UTC (rev 317028)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 315977 Maintainer: yago Status: ready -->
+<!-- EN-Revision: 316558 Maintainer: yago Status: ready -->
<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
<appendix xml:id="timezones" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -9,7 +9,7 @@
<note>
<simpara>
- &date.timezone.dbversion; 2011.9.
+ &date.timezone.dbversion; 2011.10.
</simpara>
</note>
Modified: phpdoc/es/trunk/reference/errorfunc/functions/error-reporting.xml
===================================================================
--- phpdoc/es/trunk/reference/errorfunc/functions/error-reporting.xml 2011-09-19 21:56:45 UTC (rev
317027)
+++ phpdoc/es/trunk/reference/errorfunc/functions/error-reporting.xml 2011-09-19 22:06:38 UTC (rev
317028)
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297626 Maintainer: seros Status: ready -->
+<!-- EN-Revision: 315442 Maintainer: andresdzphp Status: ready -->
+<!-- Reviewed: no -->
+
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.error-reporting">
<refnamediv>
<refname>error_reporting</refname>
@@ -71,23 +73,21 @@
</thead>
<tbody>
<row>
- <entry>5.0.0</entry>
- <entry>Se introdujo <constant>E_STRICT</constant> (no es parte de
<constant>E_ALL</constant>).</entry>
+ <entry>5.4.0</entry>
+ <entry>Ahora <constant>E_STRICT</constant> es parte de
<constant>E_ALL</constant>.</entry>
</row>
<row>
- <entry>5.2.0</entry>
- <entry>Se introdujo
<constant>E_RECOVERABLE_ERROR</constant>.</entry>
- </row>
- <row>
<entry>5.3.0</entry>
<entry>Se introdujo <constant>E_DEPRECATED</constant> y
<constant>E_USER_DEPRECATED</constant>.</entry>
</row>
- <!-- FIXME PHP_6
<row>
- <entry>6.0.0</entry>
- <entry><constant>E_STRICT</constant> became part of
<constant>E_ALL</constant>.</entry>
+ <entry>5.2.0</entry>
+ <entry>Se introdujo
<constant>E_RECOVERABLE_ERROR</constant>.</entry>
</row>
- -->
+ <row>
+ <entry>5.0.0</entry>
+ <entry>Se introdujo <constant>E_STRICT</constant> (no es parte de
<constant>E_ALL</constant>).</entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -146,11 +146,8 @@
<tip>
<simpara>
Al pasar el valor <literal>-1</literal> se mostrarán todos los errores posibles,
- incluso cuando se añadan nuevos niveles y constantes en futuras versiones de PHP.
- <!-- FIXME PHP_6
- The
- <constant>E_ALL</constant> constant also behaves this way as of PHP 6.
- -->
+ incluso cuando se añadan nuevos niveles y constantes en futuras versiones de PHP. La
+ constante <constant>E_ALL</constant> también se comporta de esta forma en PHP 5.4.
</simpara>
</tip>
</refsect1>