svn: /phpdoc/es/trunk/ features/file-upload.xml language/predefined/errorexception/construct.xml reference/curl/functions/curl-setopt.xml
reference/json/functions/json-encode.xml

From: Date: Mon, 19 Sep 2011 18:04:20 +0000
Subject: svn: /phpdoc/es/trunk/ features/file-upload.xml language/predefined/errorexception/construct.xml reference/curl/functions/curl-setopt.xml
reference/json/functions/json-encode.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-4882@lists.php.net to get a copy of this message
andresdzphp Mon, 19 Sep 2011 18:04:20 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=317015 Log: updated to the most recent version. Changed paths: U phpdoc/es/trunk/features/file-upload.xml U phpdoc/es/trunk/language/predefined/errorexception/construct.xml U phpdoc/es/trunk/reference/curl/functions/curl-setopt.xml U phpdoc/es/trunk/reference/json/functions/json-encode.xml Modified: phpdoc/es/trunk/features/file-upload.xml =================================================================== --- phpdoc/es/trunk/features/file-upload.xml 2011-09-19 17:27:44 UTC (rev 317014) +++ phpdoc/es/trunk/features/file-upload.xml 2011-09-19 18:04:20 UTC (rev 317015) @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <!-- EN-Revision: 315771 Maintainer: andresdzphp Status: ready --> - +<!-- Reviewed: no --> <chapter xml:id="features.file-upload" xmlns="http://docbook.org/ns/docbook"> <title>Manejando la carga de archivos</title> - + <sect1 xml:id="features.file-upload.post-method"> <title>Carga con el método POST</title> <simpara> @@ -75,12 +75,12 @@ </example> </para> - <warning> + <note> <para> Asegúrese de que el formulario de subida de archivos tiene el atributo <literal>enctype="multipart/form-data"</literal> de lo contrario la carga de archivos no funcionará. </para> - </warning> + </note> <para> El <varname>$_FILES</varname> global Modified: phpdoc/es/trunk/language/predefined/errorexception/construct.xml =================================================================== --- phpdoc/es/trunk/language/predefined/errorexception/construct.xml 2011-09-19 17:27:44 UTC (rev 317014) +++ phpdoc/es/trunk/language/predefined/errorexception/construct.xml 2011-09-19 18:04:20 UTC (rev 317015) @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <!-- EN-Revision: 31655 Maintainer: andresdzphp Status: ready --> - +<!-- Reviewed: no --> <refentry xml:id="errorexception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ErrorException::__construct</refname> Modified: phpdoc/es/trunk/reference/curl/functions/curl-setopt.xml =================================================================== --- phpdoc/es/trunk/reference/curl/functions/curl-setopt.xml 2011-09-19 17:27:44 UTC (rev 317014) +++ phpdoc/es/trunk/reference/curl/functions/curl-setopt.xml 2011-09-19 18:04:20 UTC (rev 317015) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 315512 Maintainer: andresdzphp Status: ready --> +<!-- EN-Revision: 316499 Maintainer: andresdzphp Status: ready --> +<!-- Reviewed: no --> <refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -915,7 +916,7 @@ <literal>multipart/form-data</literal>. </simpara> <simpara> - Desde PHP 5.2.0, <parameter>value</parameter> debe ser un array si archivos son + Desde PHP 5.2.0, <parameter>value</parameter> debe ser un array si los archivos son pasados a esta opción con el prefijo <literal>@</literal>. </simpara> </entry> Modified: phpdoc/es/trunk/reference/json/functions/json-encode.xml =================================================================== --- phpdoc/es/trunk/reference/json/functions/json-encode.xml 2011-09-19 17:27:44 UTC (rev 317014) +++ phpdoc/es/trunk/reference/json/functions/json-encode.xml 2011-09-19 18:04:20 UTC (rev 317015) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 310659 Maintainer: lehmer Status: ready --> +<!-- EN-Revision: 315718 Maintainer: andresdzphp Status: ready --> +<!-- Reviewed: no --> <refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -44,7 +45,11 @@ <constant>JSON_HEX_TAG</constant>, <constant>JSON_HEX_AMP</constant>, <constant>JSON_HEX_APOS</constant>, - <constant>JSON_FORCE_OBJECT</constant>. + <constant>JSON_NUMERIC_CHECK</constant>, + <constant>JSON_PRETTY_PRINT</constant>, + <constant>JSON_UNESCAPED_SLASHES</constant>, + <constant>JSON_FORCE_OBJECT</constant>, + <constant>JSON_UNESCAPED_UNICODE</constant>. </para> </listitem> </varlistentry> @@ -72,6 +77,18 @@ </thead> <tbody> <row> + <entry>5.4.0</entry> + <entry> + Se añade al parámetro <parameter>options</parameter> las constantes <constant>JSON_BIGINT_AS_STRING</constant>, <constant>JSON_PRETTY_PRINT</constant>, <constant>JSON_UNESCAPED_SLASHES</constant>, y <constant>JSON_UNESCAPED_UNICODE</constant>. + </entry> + </row> + <row> + <entry>5.3.3</entry> + <entry> + Se añade al parámetro <parameter>option</parameter> la constante <constant>JSON_NUMERIC_CHECK</constant>. + </entry> + </row> + <row> <entry>5.3.0</entry> <entry> Se añade el parámetro <parameter>options</parameter>. @@ -97,7 +114,7 @@ <programlisting role="php"> <![CDATA[ <?php -$arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>5); +$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); echo json_encode($arr); ?> @@ -118,12 +135,13 @@ <?php $a = array('<foo>',"'bar'",'"baz"','&blong&'); -echo "Normal: ", json_encode($a), "\n"; -echo "Tags: ", json_encode($a,JSON_HEX_TAG), "\n"; -echo "Apos: ", json_encode($a,JSON_HEX_APOS), "\n"; -echo "Quot: ", json_encode($a,JSON_HEX_QUOT), "\n"; -echo "Amp: ", json_encode($a,JSON_HEX_AMP), "\n"; -echo "All: ", json_encode($a,JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP), "\n\n"; +echo "Normal: ", json_encode($a), "\n"; +echo "Tags: ", json_encode($a, JSON_HEX_TAG), "\n"; +echo "Apos: ", json_encode($a, JSON_HEX_APOS), "\n"; +echo "Quot: ", json_encode($a, JSON_HEX_QUOT), "\n"; +echo "Amp: ", json_encode($a, JSON_HEX_AMP), "\n"; +echo "Unicode: ", json_encode($a, JSON_UNESCAPED_UNICODE), "\n"; +echo "All: ", json_encode($a, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE), "\n\n"; $b = array(); @@ -146,12 +164,13 @@ &example.outputs; <screen> <![CDATA[ -Normal: ["<foo>","'bar'","\"baz\"","&blong&"] -Tags: ["\u003Cfoo\u003E","'bar'","\"baz\"","&blong&"] -Apos: ["<foo>","\u0027bar\u0027","\"baz\"","&blong&"] -Quot: ["<foo>","'bar'","\u0022baz\u0022","&blong&"] -Amp: ["<foo>","'bar'","\"baz\"","\u0026blong\u0026"] -All: ["\u003Cfoo\u003E","\u0027bar\u0027","\u0022baz\u0022","\u0026blong\u0026"] +Normal: ["<foo>","'bar'","\"baz\"","&blong&","\u00e9"] +Tags: ["\u003Cfoo\u003E","'bar'","\"baz\"","&blong&","\u00e9"] +Apos: ["<foo>","\u0027bar\u0027","\"baz\"","&blong&","\u00e9"] +Quot: ["<foo>","'bar'","\u0022baz\u0022","&blong&","\u00e9"] +Amp: ["<foo>","'bar'","\"baz\"","\u0026blong\u0026","\u00e9"] +Unicode: ["<foo>","'bar'","\"baz\"","&blong&","é"] +All: ["\u003Cfoo\u003E","\u0027bar\u0027","\u0022baz\u0022","\u0026blong\u0026","é"] Array vacío retornado como array: [] Array vacío retornado como object: {}

« previous php.doc.es (#4882) next »