I was looking at some old code that I'm convinced once worked but now using
php5 it doesn't seem to work anymore.
$input = "_REQUEST";
if (is_array($$input)) {
    // do something
I know $_REQUEST is an array, but $$input is NULL (I was expecting it ==
I also tried ${$input} but same result.
I tested something other than a superglobal and it works as expected. What
am I missing?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to