mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Fix #73525: Not all JSON_ERROR_* constants are documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341024 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0a87e54e49
commit
0e75cfe1a9
3 changed files with 55 additions and 0 deletions
|
@ -28,6 +28,23 @@
|
|||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="migration70.constants.json">
|
||||
<title><link linkend="book.json">JSON</link></title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>JSON_ERROR_INVALID_PROPERTY_NAME</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>JSON_ERROR_UTF16</constant>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="migration70.constants.libxml">
|
||||
<title><link linkend="book.libxml">LibXML</link></title>
|
||||
|
||||
|
|
|
@ -134,6 +134,34 @@
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.json-error-invalid-property-name">
|
||||
<term>
|
||||
<constant>JSON_ERROR_INVALID_PROPERTY_NAME</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
An invalid property name was given to <function>json_decode</function>.
|
||||
</para>
|
||||
<para>
|
||||
This constant is available as of PHP 7.0.0.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.json-error-utf16">
|
||||
<term>
|
||||
<constant>JSON_ERROR_UTF16</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Invalid UTF-16 was given to <function>json_decode</function>.
|
||||
</para>
|
||||
<para>
|
||||
This constant is available as of PHP 7.0.0.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>
|
||||
|
|
|
@ -89,6 +89,16 @@
|
|||
<entry>A value of a type that cannot be encoded was given</entry>
|
||||
<entry>PHP 5.5.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>JSON_ERROR_INVALID_PROPERTY_NAME</constant></entry>
|
||||
<entry>A property name that cannot be encoded was given</entry>
|
||||
<entry>PHP 7.0.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>JSON_ERROR_UTF16</constant></entry>
|
||||
<entry>Malformed UTF-16 characters, possibly incorrectly encoded</entry>
|
||||
<entry>PHP 7.0.0</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue