better example title and description

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312023 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2011-06-10 19:01:24 +00:00
parent bb5bd31921
commit 2557a1fb89

View file

@ -119,7 +119,12 @@ array(5) {
</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