note 19125 added to language.types.null
| From: | sc at dbtech dot de | Date: | Sat, 16 Feb 2002 20:59:33 +0000 |
| Subject: | note 19125 added to language.types.null | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26704@lists.php.net to get a copy of this message | ||
NULL as the best way to detect additional parameters of unknown type:
function FooBar($Param = NULL) {
if (is_null($Param)) {
[...]
--
http://www.php.net/manual/en/language.types.null.php
http://master.php.net/manage/user-notes.php?action=edit+19125
http://master.php.net/manage/user-notes.php?action=delete+19125
http://master.php.net/manage/user-notes.php?action=reject+19125