svn: /phpdoc/es/trunk/reference/ array/functions/array-rand.xml filter/filters.xml json/functions/json-encode.xml zip/ziparchive/extractto.xml
| From: | Yago Ferrer | Date: | Thu, 04 Nov 2010 14:36:21 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/ array/functions/array-rand.xml filter/filters.xml json/functions/json-encode.xml zip/ziparchive/extractto.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-3664@lists.php.net to get a copy of this message | ||
yago Thu, 04 Nov 2010 14:36:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305082
Log:
updated to the most recent version.
Changed paths:
U phpdoc/es/trunk/reference/array/functions/array-rand.xml
U phpdoc/es/trunk/reference/filter/filters.xml
UU phpdoc/es/trunk/reference/json/functions/json-encode.xml
U phpdoc/es/trunk/reference/zip/ziparchive/extractto.xml
Modified: phpdoc/es/trunk/reference/array/functions/array-rand.xml
===================================================================
--- phpdoc/es/trunk/reference/array/functions/array-rand.xml 2010-11-04 13:32:52 UTC (rev 305081)
+++ phpdoc/es/trunk/reference/array/functions/array-rand.xml 2010-11-04 14:36:21 UTC (rev 305082)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 302055 Maintainer: yago Status: ready -->
+<!-- EN-Revision: 304976 Maintainer: yago Status: ready -->
<refentry xml:id="function.array-rand" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_rand</refname>
Modified: phpdoc/es/trunk/reference/filter/filters.xml
===================================================================
--- phpdoc/es/trunk/reference/filter/filters.xml 2010-11-04 13:32:52 UTC (rev 305081)
+++ phpdoc/es/trunk/reference/filter/filters.xml 2010-11-04 14:36:21 UTC (rev 305082)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 302051 Maintainer: yago Status: ready -->
+<!-- EN-Revision: 304465 Maintainer: yago Status: ready -->
<chapter xml:id="filter.filters" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Tipos de filtros</title>
<!--Validate filters: {{{-->
@@ -383,7 +383,7 @@
</entry>
</row>
<row>
- <entry><constant>FILTER_FLAG_NO_ENCODE_HIGH</constant></entry>
+ <entry><constant>FILTER_FLAG_ENCODE_HIGH</constant></entry>
<entry>
<constant>FILTER_SANITIZE_ENCODED</constant>,
<constant>FILTER_SANITIZE_SPECIAL_CHARS</constant>,
@@ -395,7 +395,7 @@
</entry>
</row>
<row>
- <entry><constant>FILTER_FLAG_NO_ENCODE_AMP</constant></entry>
+ <entry><constant>FILTER_FLAG_ENCODE_AMP</constant></entry>
<entry>
<constant>FILTER_SANITIZE_STRING</constant>,
<constant>FILTER_SANITIZE_RAW</constant>
Modified: phpdoc/es/trunk/reference/json/functions/json-encode.xml
===================================================================
--- phpdoc/es/trunk/reference/json/functions/json-encode.xml 2010-11-04 13:32:52 UTC (rev 305081)
+++ phpdoc/es/trunk/reference/json/functions/json-encode.xml 2010-11-04 14:36:21 UTC (rev 305082)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 291313 $ -->
-<!-- EN-Revision: 297028 Maintainer: tatai Status: ready -->
+<!-- $Revision$ -->
+<!-- EN-Revision: 304559 Maintainer: tatai Status: ready -->
<refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -134,6 +134,12 @@
echo "Array no asociativo retornado como array: ", json_encode($c), "\n";
echo "Array no asociativo retornado como object: ", json_encode($c, JSON_FORCE_OBJECT),
"\n\n";
+
+$d = array('foo' => 'bar', 'baz' => 'long');
+
+echo "Array asociativo siempre es retornado como objeto: ", json_encode($d),
"\n";
+echo "Array asociativo siempre es retornado como objeto: ", json_encode($d,
JSON_FORCE_OBJECT), "\n\n";
+
?>
]]>
</programlisting>
@@ -152,6 +158,9 @@
Array no asociativo retornado como array: [[1,2,3]]
Array no asociativo retornado como object:
{"0":{"0":1,"1":2,"2":3}}
+
+Array asociativo siempre es retornado como objecto:
{"foo":"bar","baz":"long"}
+Array asociativo siempre es retornado como objecto:
{"foo":"bar","baz":"long"}
]]>
</screen>
</example>
Property changes on: phpdoc/es/trunk/reference/json/functions/json-encode.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Modified: phpdoc/es/trunk/reference/zip/ziparchive/extractto.xml
===================================================================
--- phpdoc/es/trunk/reference/zip/ziparchive/extractto.xml 2010-11-04 13:32:52 UTC (rev 305081)
+++ phpdoc/es/trunk/reference/zip/ziparchive/extractto.xml 2010-11-04 14:36:21 UTC (rev 305082)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yago Status: ready -->
+<!-- EN-Revision: 304623 Maintainer: yago Status: ready -->
<refentry xml:id="function.ziparchive-extractto" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::extractTo</refname>
@@ -50,13 +50,6 @@
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
- <para>
- Este ejemplo abre un archivo ZIP, lee cada fichero del
- archivo y muestra su contenido.
- archivo <filename>test2.zip</filename> usado en este ejemplo es
- uno de los archivos de pruebas usados en la fuente de distribución
- de ZZIPLib.
- </para>
<example>
<title>Extraer todas las entradas</title>
<programlisting role="php">
@@ -75,7 +68,7 @@
</programlisting>
</example>
<example>
- <title>Extraer solo dos entradas</title>
+ <title>Extraer dos entradas</title>
<programlisting role="php">
<![CDATA[
<?php