note 22127 added to function.func-get-arg
| From: | martin at classaxe dot com | Date: | Fri, 07 Jun 2002 14:55:19 +0000 |
| Subject: | note 22127 added to function.func-get-arg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31565@lists.php.net to get a copy of this message | ||
This function whilst elegant doesn't in itself avoid the problem of generating warning messages
where variables are not set, unless of course you switched warnings off:
error_reporting(E_ERROR);
The answer for those of who like to see necessary warnings?
Call it like this:
@allSet($w, $x, $y, $z)
(Martin Francis)
--
http://www.php.net/manual/en/function.func-get-arg.php
http://master.php.net/manage/user-notes.php?action=edit+22127
http://master.php.net/manage/user-notes.php?action=delete+22127
http://master.php.net/manage/user-notes.php?action=reject+22127