svn: /phpdoc/fr/trunk/reference/json/functions/ json-encode.xml json-last-error-msg.xml

From: Date: Tue, 17 Nov 2020 13:13:47 +0000
Subject: svn: /phpdoc/fr/trunk/reference/json/functions/ json-encode.xml json-last-error-msg.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-13262@lists.php.net to get a copy of this message
girgias Tue, 17 Nov 2020 13:13:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351411 Log: Again update method synopsis for JSON Online doc editor refuses to push some of my changes for some reason Changed paths: U phpdoc/fr/trunk/reference/json/functions/json-encode.xml U phpdoc/fr/trunk/reference/json/functions/json-last-error-msg.xml Modified: phpdoc/fr/trunk/reference/json/functions/json-encode.xml =================================================================== --- phpdoc/fr/trunk/reference/json/functions/json-encode.xml 2020-11-17 12:35:33 UTC (rev 351410) +++ phpdoc/fr/trunk/reference/json/functions/json-encode.xml 2020-11-17 13:13:47 UTC (rev 351411) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 351135 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 351406 Maintainer: girgias Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook"> @@ -14,15 +14,16 @@ <methodsynopsis> <type class="union"><type>string</type><type>false</type></type><methodname>json_encode</methodname> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>depth</parameter><initializer>512</initializer></methodparam> </methodsynopsis> <para> + <para> Retourne une chaîne de caractères contenant la représentation JSON de la valeur <parameter>value</parameter>. </para> <para> - L'encodage est affecté par les <parameter>options</parameter> fournies. + L'encodage est affecté par les <parameter>flags</parameter> fournies. De plus, l'encodage des valeurs flottantes dépend de la valeur de <link linkend="ini.serialize-precision">serialize_precision</link>. </para> @@ -46,7 +47,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>options</parameter></term> + <term><parameter>flags</parameter></term> <listitem> <para> Masque de bit compris de @@ -104,7 +105,7 @@ <row> <entry>7.3.0</entry> <entry> - L'<parameter>options</parameter> + Le <parameter>flags</parameter> <constant>JSON_THROW_ON_ERROR</constant> a été ajoutée. </entry> </row> @@ -111,7 +112,7 @@ <row> <entry>7.2.0</entry> <entry> - Les <parameter>options</parameter> + Les <parameter>flags</parameter> <constant>JSON_INVALID_UTF8_IGNORE</constant>, et <constant>JSON_INVALID_UTF8_SUBSTITUTE</constant> ont été ajoutées. </entry> @@ -119,7 +120,7 @@ <row> <entry>7.1.0</entry> <entry> - L'<parameter>options</parameter> + Le <parameter>flags</parameter> <constant>JSON_UNESCAPED_LINE_TERMINATORS</constant> a été ajoutée. </entry> </row> Modified: phpdoc/fr/trunk/reference/json/functions/json-last-error-msg.xml =================================================================== --- phpdoc/fr/trunk/reference/json/functions/json-last-error-msg.xml 2020-11-17 12:35:33 UTC (rev 351410) +++ phpdoc/fr/trunk/reference/json/functions/json-last-error-msg.xml 2020-11-17 13:13:47 UTC (rev 351411) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 351135 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 351406 Maintainer: girgias Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.json-last-error-msg" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -12,9 +12,13 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type class="union"><type>string</type><type>false</type></type><methodname>json_last_error_msg</methodname> - <void /> + <type>string</type><methodname>json_last_error_msg</methodname> + <void/> </methodsynopsis> + <methodsynopsis> + <type>string</type><methodname>json_last_error_msg</methodname> + <void/> + </methodsynopsis> <para> Retourne la chaîne d'erreur du dernier appel à <function>json_encode</function> ou <function>json_decode</function>, qui n'a pas spécifié @@ -31,7 +35,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne le message d'erreur en cas de succès, + Retourne le message d'erreur en cas de succès, ou <literal>"No error"</literal> si aucune erreur n'est survenue, &return.falseforfailure;. </para>

« previous php.doc.fr (#13262) next »