cvs: phpdoc /en/language/oop5 autoload.xml
| From: | Sean Coates | Date: | Sun, 17 Oct 2004 23:59:02 +0000 |
| Subject: | cvs: phpdoc /en/language/oop5 autoload.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969364567@lists.php.net to get a copy of this message | ||
sean Sun Oct 17 19:59:02 2004 EDT
Modified files:
/phpdoc/en/language/oop5 autoload.xml
Log:
fixed typo '.php'
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/autoload.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/language/oop5/autoload.xml
diff -u phpdoc/en/language/oop5/autoload.xml:1.2 phpdoc/en/language/oop5/autoload.xml:1.3
--- phpdoc/en/language/oop5/autoload.xml:1.2 Sat Oct 2 05:40:50 2004
+++ phpdoc/en/language/oop5/autoload.xml Sun Oct 17 19:59:02 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="language.oop5.autoload">
<title>Autoloading Objects</title>
<para>
@@ -27,7 +27,7 @@
<![CDATA[
<?php
function __autoload($class_name) {
- include_once($class_name . 'php');
+ include_once($class_name . '.php');
}
$obj = new MyClass1();