cvs: phpdoc /en/reference/classobj/functions is-a.xml

From: Date: Tue, 24 Feb 2004 08:42:32 +0000
Subject: cvs: phpdoc /en/reference/classobj/functions is-a.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359195@lists.php.net to get a copy of this message
didou Tue Feb 24 03:42:32 2004 EDT Modified files: /phpdoc/en/reference/classobj/functions is-a.xml Log: correct the title correct the example # hey, echo ''; will echo the string :) http://cvs.php.net/diff.php/phpdoc/en/reference/classobj/functions/is-a.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/classobj/functions/is-a.xml diff -u phpdoc/en/reference/classobj/functions/is-a.xml:1.4 phpdoc/en/reference/classobj/functions/is-a.xml:1.5 --- phpdoc/en/reference/classobj/functions/is-a.xml:1.4 Tue Feb 24 00:54:36 2004 +++ phpdoc/en/reference/classobj/functions/is-a.xml Tue Feb 24 03:42:32 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.33 --> <refentry id="function.is-a"> <refnamediv> @@ -22,7 +22,7 @@ </para> <para> <example> - <title>An <function>exec</function> example</title> + <title><function>is_a</function> example</title> <programlisting role="php"> <![CDATA[ <?php @@ -35,9 +35,8 @@ // create a new object $WF = new WidgetFactory(); -if (is_a($WF, 'WidgetFactory')) -{ - echo 'yes, $WF is still a WidgetFactory'; +if (is_a($WF, 'WidgetFactory')) { + echo "yes, $WF is still a WidgetFactory\n"; } ?> ]]>

« previous php.doc (#969359195) next »