svn: /phpdoc/en/trunk/ appendices/migration55.xml reference/json/functions/json-encode.xml reference/json/functions/json-last-error-msg.xml
reference/json/functions/json-last-error.xml
| From: | Jakub Vrana | Date: | Thu, 16 May 2013 20:12:39 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ appendices/migration55.xml reference/json/functions/json-encode.xml reference/json/functions/json-last-error-msg.xml reference/json/functions/json-last-error.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11273@lists.php.net to get a copy of this message | ||
vrana Thu, 16 May 2013 20:12:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=330249
Log:
PHP 5.5 JSON changes
Changed paths:
U phpdoc/en/trunk/appendices/migration55.xml
U phpdoc/en/trunk/reference/json/functions/json-encode.xml
A phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml
U phpdoc/en/trunk/reference/json/functions/json-last-error.xml
Modified: phpdoc/en/trunk/appendices/migration55.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration55.xml 2013-05-16 20:01:32 UTC (rev 330248)
+++ phpdoc/en/trunk/appendices/migration55.xml 2013-05-16 20:12:39 UTC (rev 330249)
@@ -521,6 +521,12 @@
</listitem>
<listitem>
<simpara>
+ <function>json_encode</function> now accepts
<parameter>depth</parameter>
+ parameter.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
The behaviour of <function>pack</function> and
<function>unpack</function> with the "a" and "A" format codes
has
changed.
@@ -617,6 +623,11 @@
</listitem>
<listitem>
<simpara>
+ <function>json_last_error_msg</function>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
<function>password_get_info</function>
</simpara>
</listitem>
@@ -650,6 +661,18 @@
</itemizedlist>
</sect2>
+ <sect2 xml:id="migration55.new-functions.openssl">
+ <title><link linkend="book.openssl">OpenSSL</link></title>
+
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <function>openssl_pbkdf2</function>
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </sect2>
+
<sect2 xml:id="migration55.new-functions.curl">
<title><link linkend="book.curl">cURL</link></title>
Modified: phpdoc/en/trunk/reference/json/functions/json-encode.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-encode.xml 2013-05-16 20:01:32 UTC (rev 330248)
+++ phpdoc/en/trunk/reference/json/functions/json-encode.xml 2013-05-16 20:12:39 UTC (rev 330249)
@@ -12,6 +12,7 @@
<type>string</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>depth</parameter><initializer>512</initializer></methodparam>
</methodsynopsis>
<para>
Returns a string containing the JSON representation of
@@ -77,6 +78,12 @@
</thead>
<tbody>
<row>
+ <entry>5.5.0</entry>
+ <entry>
+ <parameter>depth</parameter> parameter was added.
+ </entry>
+ </row>
+ <row>
<entry>5.4.0</entry>
<entry>
<constant>JSON_PRETTY_PRINT</constant>,
<constant>JSON_UNESCAPED_SLASHES</constant>, and
<constant>JSON_UNESCAPED_UNICODE</constant> <parameter>options</parameter>
were added.
Added: phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml (rev 0)
+++ phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml 2013-05-16 20:12:39 UTC (rev
330249)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+
+<refentry xml:id="function.json-last-error-msg" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>json_last_error_msg</refname>
+ <refpurpose>Returns the error string of the last json_encode() or json_decode()
call</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>json_last_error_msg</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns the error message on success or &null; with wrong parameters.
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>json_last_error</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/en/trunk/reference/json/functions/json-last-error-msg.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Modified: phpdoc/en/trunk/reference/json/functions/json-last-error.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-last-error.xml 2013-05-16 20:01:32 UTC (rev
330248)
+++ phpdoc/en/trunk/reference/json/functions/json-last-error.xml 2013-05-16 20:12:39 UTC (rev
330249)
@@ -163,6 +163,7 @@
&reftitle.seealso;
<para>
<simplelist>
+ <member><function>json_last_error_msg</function></member>
<member><function>json_decode</function></member>
<member><function>json_encode</function></member>
</simplelist>