Re: dynamically named variables?
| From: | Philip Olson | Date: | Thu, 23 May 2002 18:12:51 +0000 |
| Subject: | Re: dynamically named variables? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98965@lists.php.net to get a copy of this message | ||
> extract($_POST, EXTR_PREFIX_ALL, 'file_');
A little typo, extract() automatically attaches
a '_' so the third parameter here would be just
'file'.
This behavior is unlike import_request_variables()
and I assume the behavior remains for historical
reasons. Kinda odd.
Regards,
Philip Olson