svn: /phpdoc/fr/trunk/reference/json/ functions/json-decode.xml jsonserializable/jsonserialize.xml

From: Date: Tue, 17 Nov 2020 12:35:33 +0000
Subject: svn: /phpdoc/fr/trunk/reference/json/ functions/json-decode.xml jsonserializable/jsonserialize.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-13261@lists.php.net to get a copy of this message
girgias Tue, 17 Nov 2020 12:35:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351410 Log: Update JSON method synopsis after stubs synchronisation with EN doc version Changed paths: U phpdoc/fr/trunk/reference/json/functions/json-decode.xml U phpdoc/fr/trunk/reference/json/jsonserializable/jsonserialize.xml Modified: phpdoc/fr/trunk/reference/json/functions/json-decode.xml =================================================================== --- phpdoc/fr/trunk/reference/json/functions/json-decode.xml 2020-11-17 12:05:27 UTC (rev 351409) +++ phpdoc/fr/trunk/reference/json/functions/json-decode.xml 2020-11-17 12:35:33 UTC (rev 351410) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 350654 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 351406 Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.json-decode" xmlns="http://docbook.org/ns/docbook"> @@ -14,9 +14,9 @@ <methodsynopsis> <type>mixed</type><methodname>json_decode</methodname> <methodparam><type>string</type><parameter>json</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>assoc</parameter><initializer>&null;</initializer></methodparam> + <methodparam choice="opt"><type class="union"><type>bool</type><type>null</type></type><parameter>associative</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>depth</parameter><initializer>512</initializer></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> </methodsynopsis> <para> Récupère une chaîne encodée JSON et la convertit en une variable PHP. @@ -40,7 +40,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>assoc</parameter></term> + <term><parameter>associative</parameter></term> <listitem> <para> Lorsque ce paramètre vaut &true;, les objets JSON seront retournés comme @@ -48,7 +48,7 @@ seront retournés comme des objets. Lorsque ce paramètre vaut &null;, les objets JSON seront retournés comme es tableaux associatifs ou des objets, suivant si la constante <constant>JSON_OBJECT_AS_ARRAY</constant> a été définie dans - le paramètre <parameter>options</parameter>. + le paramètre <parameter>flags</parameter>. </para> </listitem> </varlistentry> @@ -61,7 +61,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>options</parameter></term> + <term><parameter>flags</parameter></term> <listitem> <para> Masque de bit compris de @@ -107,7 +107,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é. </entry> </row> @@ -114,13 +114,13 @@ <row> <entry>7.2.0</entry> <entry> - Le paramètre <parameter>assoc</parameter> peut valloir nul. + Le paramètre <parameter>associative</parameter> est désormais nullable. </entry> </row> <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é. </entry> Modified: phpdoc/fr/trunk/reference/json/jsonserializable/jsonserialize.xml =================================================================== --- phpdoc/fr/trunk/reference/json/jsonserializable/jsonserialize.xml 2020-11-17 12:05:27 UTC (rev 351409) +++ phpdoc/fr/trunk/reference/json/jsonserializable/jsonserialize.xml 2020-11-17 12:35:33 UTC (rev 351410) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 347247 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 351406 Maintainer: girgias Status: ready --> <!-- Reviewed: no --> <refentry xml:id="jsonserializable.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <modifier>abstract</modifier> <modifier>public</modifier> <type>mixed</type><methodname>JsonSerializable::jsonSerialize</methodname> - <void /> + <void/> </methodsynopsis> <para> Linéarise l'objet en une valeur qui peut être linéarisé nativement par

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