cvs: /phpdoc/language functions.sgml
| From: | Andrey Zmievski | Date: | Mon, 19 Jul 1999 18:35:41 +0000 |
| Subject: | cvs: /phpdoc/language functions.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8748@lists.php.net to get a copy of this message | ||
andrey Mon Jul 19 18:35:41 1999 EDT
Modified files:
/phpdoc/language functions.sgml
Log:
Added note about "unset" default value.
Index: phpdoc/language/functions.sgml
diff -u phpdoc/language/functions.sgml:1.2 phpdoc/language/functions.sgml:1.3
--- phpdoc/language/functions.sgml:1.2 Mon Jul 12 20:18:43 1999
+++ phpdoc/language/functions.sgml Mon Jul 19 18:35:40 1999
@@ -148,6 +148,11 @@
<simpara>
The default value must be a constant expression, not (for
example) a variable or class member.
+
+ <para>
+ In PHP 4.0 it's also possible to specify <literal>unset</literal>
+ for default argumment. This means that the argument will not be
+ set at all, if a value is not supplied.
<para>
Note that when using default arguments, any defaults should be