nlopess Thu Aug 4 06:59:37 2005 EDT
Modified files:
/phpdoc/en/reference/spl/functions class-implements.xml
class-parents.xml
Log:
update the output of the example. thanks to jsgoupil
http://cvs.php.net/diff.php/phpdoc/en/reference/spl/functions/class-implements.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/spl/functions/class-implements.xml
diff -u phpdoc/en/reference/spl/functions/class-implements.xml:1.7
phpdoc/en/reference/spl/functions/class-implements.xml:1.8
--- phpdoc/en/reference/spl/functions/class-implements.xml:1.7 Mon Aug 1
18:29:40 2005
+++ phpdoc/en/reference/spl/functions/class-implements.xml Thu Aug 4
06:59:37 2005
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id="function.class-implements">
<refnamediv>
<refname>class_implements</refname>
@@ -101,19 +101,24 @@
require_once $class_name . '.php';
}
-// use __autoload to load the 'not-loaded' class
-print_r(class_implements('not-loaded', true));
+// use __autoload to load the 'not_loaded' class
+print_r(class_implements('not_loaded', true));
?>
]]>
</programlisting>
- &example.outputs;
+ &example.outputs.similar;
<screen>
<![CDATA[
Array
(
[foo] => foo
)
+
+Array
+(
+ [interface_of_not_loaded] => interface_of_not_loaded
+)
]]>
</screen>
</example>
http://cvs.php.net/diff.php/phpdoc/en/reference/spl/functions/class-parents.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/spl/functions/class-parents.xml
diff -u phpdoc/en/reference/spl/functions/class-parents.xml:1.5
phpdoc/en/reference/spl/functions/class-parents.xml:1.6
--- phpdoc/en/reference/spl/functions/class-parents.xml:1.5 Mon Aug 1
18:29:40 2005
+++ phpdoc/en/reference/spl/functions/class-parents.xml Thu Aug 4 06:59:37 2005
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.class-parents">
<refnamediv>
<refname>class_parents</refname>
@@ -100,18 +100,23 @@
require_once $class_name . '.php';
}
-// use __autoload to load the 'not-loaded' class
-print_r(class_parents('not-loaded', true));
+// use __autoload to load the 'not_loaded' class
+print_r(class_parents('not_loaded', true));
?>
]]>
</programlisting>
- &example.outputs;
+ &example.outputs.similar;
<screen>
<![CDATA[
Array
(
[foo] => foo
)
+
+Array
+(
+ [parent_of_not_loaded] => parent_of_not_loaded
+)
]]>
</screen>
</example>