rquadling Mon May 14 10:02:11 2007 UTC
Modified files:
/phpdoc/en/features commandline.xml
/phpdoc/en/language/oop5 autoload.xml
Log:
FIX #40775 : PHP -a and __autoload() don't mix.
http://cvs.php.net/viewvc.cgi/phpdoc/en/features/commandline.xml?r1=1.46&r2=1.47&diff_format=u
Index: phpdoc/en/features/commandline.xml
diff -u phpdoc/en/features/commandline.xml:1.46
phpdoc/en/features/commandline.xml:1.47
--- phpdoc/en/features/commandline.xml:1.46 Thu Feb 15 09:24:34 2007
+++ phpdoc/en/features/commandline.xml Mon May 14 10:02:11 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.46 $ -->
+<!-- $Revision: 1.47 $ -->
<chapter id="features.commandline">
<title>Using PHP from the command line</title>
<para>
@@ -585,6 +585,12 @@
defined before called.
</para>
</note>
+ <note>
+ <para>
+ <link linkend="language.oop5.autoload">Autoloading</link> is not
available if using PHP in CLI
+ interactive mode.
+ </para>
+ </note>
</entry>
</row>
<row>
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/autoload.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/language/oop5/autoload.xml
diff -u phpdoc/en/language/oop5/autoload.xml:1.6
phpdoc/en/language/oop5/autoload.xml:1.7
--- phpdoc/en/language/oop5/autoload.xml:1.6 Mon Feb 14 04:13:13 2005
+++ phpdoc/en/language/oop5/autoload.xml Mon May 14 10:02:11 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<sect1 id="language.oop5.autoload">
<title>Autoloading Objects</title>
<para>
@@ -22,6 +22,12 @@
a fatal error.
</para>
</note>
+ <note>
+ <para>
+ Autoloading is not available if using PHP in CLI
+ <link linkend="features.commandline">interactive mode</link>.
+ </para>
+ </note>
<para>
<example>
<title>Autoload example</title>