0

Hello,
The following is a code excerpt I found on the web. Could someone please tell me where I can find information about how to use $$ variables and ${$var} variables. I have never seen them before.

foreach ($expected as $formvar)
$$formvar = (isset(${"_$_SERVER[REQUEST_METHOD]"}[$formvar]))?
   ${"_$_SERVER[REQUEST_METHOD]"}[$formvar]:NULL;
2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by nav33n
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.