philip Fri Mar 15 01:38:23 2002 EDT
Modified files:
/phpdoc/en/language functions.xml
Log:
Variable functions: Typo fix became a minor update
See also: variable variables and function_exists
Index: phpdoc/en/language/functions.xml
diff -u phpdoc/en/language/functions.xml:1.25 phpdoc/en/language/functions.xml:1.26
--- phpdoc/en/language/functions.xml:1.25 Tue Mar 5 06:24:59 2002
+++ phpdoc/en/language/functions.xml Fri Mar 15 01:38:22 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
<chapter id="functions">
<title>Functions</title>
@@ -332,12 +332,13 @@
be used to implement callbacks, function tables, and so forth.
</para>
<para>
- Variable functions won't work with language constructs other
- than <function>print</function>, such as
- <function>echo</function>, <function>unset</function>,
- <function>isset</function> and <function>empty</function>.
- This is one of the major differences between PHP functions
- and languageconstructs.
+ Variable functions won't work with language constructs such
+ as <function>echo</function>, <function>unset</function>,
+ <function>isset</function>, <function>empty</function> and
+ <function>include</function>. Although, the construct
+ <function>print</function> is an exception and will work.
+ This is one of the major differences between PHP functions and
+ language constructs.
</para>
<para>
<example>
@@ -363,6 +364,10 @@
]]>
</programlisting>
</example>
+ </para>
+ <para>
+ See also <link linkend="language.variables.variable">
+ variable variables</link> and <function>function_exists</function>.
</para>
</sect1>