cvs: phpdoc /en/reference/simplexml reference.xml

From: Date: Wed, 12 Sep 2007 18:35:31 +0000
Subject: cvs: phpdoc /en/reference/simplexml reference.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13@lists.php.net to get a copy of this message
preinheimer Wed Sep 12 18:35:31 2007 UTC Modified files: /phpdoc/en/reference/simplexml reference.xml Log: Correcting double ;; Removing the word curly as per Sean's comments http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/simplexml/reference.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc/en/reference/simplexml/reference.xml diff -u phpdoc/en/reference/simplexml/reference.xml:1.22 phpdoc/en/reference/simplexml/reference.xml:1.23 --- phpdoc/en/reference/simplexml/reference.xml:1.22 Mon Sep 10 21:24:57 2007 +++ phpdoc/en/reference/simplexml/reference.xml Wed Sep 12 18:35:31 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> @@ -94,7 +94,7 @@ <para> Accessing elements within an XML document that contain characters not permitted under PHP's naming convention (e.g. the hyphen) can be accomplished by encapsulating the - element name within curly braces and the apostrophe. + element name within braces and the apostrophe. <example> <title>Getting <literal>&lt;line&gt;</literal></title> <programlisting role="php"> @@ -104,7 +104,7 @@ $xml = new SimpleXMLElement($xmlstr); -echo $xml->movie->{'great-lines'}->line;; // "PHP solves all my web problems" +echo $xml->movie->{'great-lines'}->line; // "PHP solves all my web problems" ?> ]]> </programlisting>

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