note 53871 rejected from function.isset by sean
| From: | sean@php.net | Date: | Wed, 15 Jun 2005 16:57:51 +0000 |
| Subject: | note 53871 rejected from function.isset by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90482@lists.php.net to get a copy of this message | ||
Note Submitter: spamme _ AT _ bluewin . ch
----
I have a strange problem:
function test($b){
if(isset($$b)) {
echo "hello";
}
}
$a = "_SERVER";
test($a);
if(isset($$a)) {
echo "it works";
}
Hello never work as it is in a function. But when the test is done outside the fonction it works