php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

Re: [DOC-CVS] svn: /phpdoc/en/trunk/reference/wincache/ functions/wincache-ucache-add.xml functions/wincache-ucache-cas.xml functions/wincache-ucache-clear.xml functions/wincache-ucache-dec.xml fun
3/3/2010 12:44:42 PM

svn: /phpdoc/en/trunk/language/control-structures/ alternative-syntax.xml
11/23/2009 9:11:37 PM

svn: /phpdoc/en/trunk/language/ functions.xml
11/23/2009 9:01:56 PM

svn: /phpdoc/en/trunk/language/predefined/arrayaccess/ offsetset.xml
11/23/2009 8:57:46 PM

svn: /phpdoc/en/trunk/reference/filter/functions/ filter-var.xml
11/23/2009 8:36:22 PM

svn: /phpdoc/en/trunk/reference/datetime/datetime/ createfromformat.xml
11/23/2009 3:09:57 PM

svn: /phpdoc/en/trunk/reference/mysqli/mysqli/ options.xml
11/23/2009 11:03:53 AM

svn: /phpdoc/en/trunk/reference/mysqlnd/ overview.xml
11/20/2009 9:57:47 AM

svn: /phpdoc/en/trunk/reference/mysqli/mysqli/ options.xml
11/16/2009 4:43:33 PM

svn: /phpdoc/en/trunk/reference/mysqli/mysqli_stmt/ bind-param.xml
11/16/2009 11:55:02 AM

svn: /phpdoc/en/trunk/reference/json/functions/ json-decode.xml Reply

Group: php.doc.cvs Subscribe Posted:11/20/2009 12:15:07 PM Replies:0 Views:7 Items(0)
--8f060711b2f76ce146c51b0b1fb2b84bdd4a3a88
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

vrana Fri, 20 Nov 2009 12:15:07 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=291072

Log:
Can return anything (bug #46518)

Bug: http://bugs.php.net/46518 (Open) json_decode return values

Changed paths:
U phpdoc/en/trunk/reference/json/functions/json-decode.xml

Modified: phpdoc/en/trunk/reference/json/functions/json-decode.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-decode.xml 2009-11-20 11:56:32 UTC (rev 291071)
+++ phpdoc/en/trunk/reference/json/functions/json-decode.xml 2009-11-20 12:15:07 UTC (rev 291072)
@@ -55,9 +55,10 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns an <type>object</type> or if the optional
- <parameter>assoc</parameter> parameter is &true;, an associative
- <type>array</type> is instead returned. &null; is returned if the
+ Returns the value encoded in <parameter>json</parameter> in appropriate
+ PHP type. Values <literal>true</literal>, <literal>false</literal> and
+ <literal>null</literal> (case-insensitive) are returned as &true;, &false;
+ and &null; respectively. &null; is returned if the
<parameter>json</parameter> cannot be decoded or if the encoded
data is deeper than the recursion limit.
</para>

--8f060711b2f76ce146c51b0b1fb2b84bdd4a3a88--
vr...@php.net (=?utf-8?q?Jakub_Vrana?=)
11/20/2009 12:15:07 PM





Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM