svn: /phpdoc/ru/trunk/ appendices/migration55.xml reference/json/functions/json-encode.xml reference/mysqli/mysqli/more-results.xml
reference/mysqli/mysqli/next-result.xml reference/strings/functions/chr.xml

From: Date: Fri, 08 May 2020 06:30:39 +0000
Subject: svn: /phpdoc/ru/trunk/ appendices/migration55.xml reference/json/functions/json-encode.xml reference/mysqli/mysqli/more-results.xml
reference/mysqli/mysqli/next-result.xml reference/strings/functions/chr.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-8449@lists.php.net to get a copy of this message
sergey Fri, 08 May 2020 06:30:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=349758 Log: docs(ru): Updated to English revision Changed paths: U phpdoc/ru/trunk/appendices/migration55.xml U phpdoc/ru/trunk/reference/json/functions/json-encode.xml U phpdoc/ru/trunk/reference/mysqli/mysqli/more-results.xml U phpdoc/ru/trunk/reference/mysqli/mysqli/next-result.xml U phpdoc/ru/trunk/reference/strings/functions/chr.xml Modified: phpdoc/ru/trunk/appendices/migration55.xml =================================================================== --- phpdoc/ru/trunk/appendices/migration55.xml 2020-05-07 16:31:12 UTC (rev 349757) +++ phpdoc/ru/trunk/appendices/migration55.xml 2020-05-08 06:30:39 UTC (rev 349758) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 349711 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: 349754 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <!-- Based on UPGRADING version 322438. Work in progress !--> @@ -165,6 +165,15 @@ </programlisting> </informalexample> </sect2> + <sect2 xml:id="migration55.incompatible.json"> + <title><function>json_encode</function> changes</title> + <para> + Когда параметр <parameter>value</parameter>, переданный в <function>json_encode</function>, вызывает ошибку кодирования JSON, возвращается + &false; вместо частичного вывода, если <parameter>options</parameter> не содержит <constant>JSON_PARTIAL_OUTPUT_ON_ERROR</constant>. + Смотрите <function>json_last_error</function> для полного списка причин, которые могут привести к сбою кодировки JSON. + Одна из возможных причин сбоя заключается в том, что <parameter>value</parameter> содержит строки, содержащие некорректный UTF-8. + </para> + </sect2> <sect2 xml:id="migration55.incompatible.self-parent-static"> <title><literal>self</literal>, <literal>parent</literal> и <literal>static</literal> теперь всегда регистронезависимы</title> @@ -1675,6 +1684,11 @@ <link linkend="constant.json-error-unsupported-type"><constant>JSON_ERROR_UNSUPPORTED_TYPE</constant></link> </simpara> </listitem> + <listitem> + <simpara> + <link linkend="constant.json-partial-output-on-error"><constant>JSON_PARTIAL_OUTPUT_ON_ERROR</constant></link> + </simpara> + </listitem> </itemizedlist> </sect2> Modified: phpdoc/ru/trunk/reference/json/functions/json-encode.xml =================================================================== --- phpdoc/ru/trunk/reference/json/functions/json-encode.xml 2020-05-07 16:31:12 UTC (rev 349757) +++ phpdoc/ru/trunk/reference/json/functions/json-encode.xml 2020-05-08 06:30:39 UTC (rev 349758) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 347351 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: 349754 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook"> @@ -155,6 +155,21 @@ <row> <entry>5.5.0</entry> <entry> + Когда параметр <parameter>value</parameter>, переданный в <function>json_encode</function>, вызывает ошибку кодирования JSON, возвращается + &false; вместо частичного вывода, если <parameter>options</parameter> не содержит <constant>JSON_PARTIAL_OUTPUT_ON_ERROR</constant>. + Смотрите <function>json_last_error</function> для полного списка причин, которые могут привести к сбою кодировки JSON. + Одна из возможных причин сбоя заключается в том, что <parameter>value</parameter> содержит строки, содержащие некорректный UTF-8. + </entry> + </row> + <row> + <entry>5.5.0</entry> + <entry> + <constant>E_WARNING</constant> больше не выдается для некорректного <parameter>value</parameter>. + </entry> + </row> + <row> + <entry>5.5.0</entry> + <entry> Возвращаемое значение в случае неудачи изменено со строки <literal>null</literal> на &false;. </entry> Modified: phpdoc/ru/trunk/reference/mysqli/mysqli/more-results.xml =================================================================== --- phpdoc/ru/trunk/reference/mysqli/mysqli/more-results.xml 2020-05-07 16:31:12 UTC (rev 349757) +++ phpdoc/ru/trunk/reference/mysqli/mysqli/more-results.xml 2020-05-08 06:30:39 UTC (rev 349758) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 330633 Maintainer: tmn Status: ready --> +<!-- EN-Revision: 349755 Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="mysqli.more-results" xmlns="http://docbook.org/ns/docbook"> @@ -41,7 +41,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Возвращается &true; в случае, если один или более результирующих наборов доступны после + Возвращается &true; в случае, если один или более результирующих наборов (включая ошибки) доступны после предыдущего вызова функции <function>mysqli_multi_query</function>, иначе &false;. </para> </refsect1> Modified: phpdoc/ru/trunk/reference/mysqli/mysqli/next-result.xml =================================================================== --- phpdoc/ru/trunk/reference/mysqli/mysqli/next-result.xml 2020-05-07 16:31:12 UTC (rev 349757) +++ phpdoc/ru/trunk/reference/mysqli/mysqli/next-result.xml 2020-05-08 06:30:39 UTC (rev 349758) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 322005 Maintainer: tmn Status: ready --> +<!-- EN-Revision: 349756 Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="mysqli.next-result" xmlns="http://docbook.org/ns/docbook"> @@ -43,7 +43,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.success; Также возвращает &false;, если следующий оператор привел к ошибке, в отличие от <methodname>mysqli_more_results</methodname>. </para> </refsect1> @@ -50,7 +50,7 @@ <refsect1 role="examples"> &reftitle.examples; <para> - См. <function>mysqli_multi_query</function>. + Смотрите <function>mysqli_multi_query</function>. </para> </refsect1> Modified: phpdoc/ru/trunk/reference/strings/functions/chr.xml =================================================================== --- phpdoc/ru/trunk/reference/strings/functions/chr.xml 2020-05-07 16:31:12 UTC (rev 349757) +++ phpdoc/ru/trunk/reference/strings/functions/chr.xml 2020-05-08 06:30:39 UTC (rev 349758) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 346452 Maintainer: shein Status: ready --> +<!-- EN-Revision: 349753 Maintainer: shein Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.chr"> @@ -108,7 +108,6 @@ <programlisting role="php"> <![CDATA[ <?php -declare(encoding='UTF-8'); $str = chr(240) . chr(159) . chr(144) . chr(152); echo $str; ?>

« previous php.doc.ru (#8449) next »