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

From: Date: Fri, 10 Jun 2011 19:01:24 +0000
Subject: svn: /phpdoc/en/trunk/reference/json/functions/ json-decode.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8244@lists.php.net to get a copy of this message
salathe Fri, 10 Jun 2011 19:01:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312023 Log: better example title and description 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 2011-06-10 19:00:18 UTC (rev 312022) +++ phpdoc/en/trunk/reference/json/functions/json-decode.xml 2011-06-10 19:01:24 UTC (rev 312023) @@ -119,7 +119,12 @@ </screen> </example> <example> - <title>Another example</title> + <title>Accessing invalid object properties</title> + <simpara> + Accessing elements within an object that contain characters not + permitted under PHP's naming convention (e.g. the hyphen) can be + accomplished by encapsulating the element name within braces and the apostrophe. + </simpara> <programlisting role="php"> <![CDATA[ <?php

« previous php.doc.cvs (#8244) next »