php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #24856 Extract taking multiple arguments
Submitted: 2003-07-29 12:52 UTC Modified: 2003-07-29 14:25 UTC
From: dave at psntn dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 32 = ?
Subscribe to this entry?

 
 [2003-07-29 12:52 UTC] dave at psntn dot com
Description:
------------
Would it be possible to have the extract() function to have multiple arrays passed to it in different arguments.  So the code would look to see if that argument is an array, then if it is it would extract the variaables into a temp. var then apply profixes and other things then finish and return all the variables extracted from the array(s)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-29 14:16 UTC] sniper@php.net
Why?

 [2003-07-29 14:25 UTC] dave at psntn dot com
So you dont have to do:
extract($thisarray);
extract($thatarray);
extract($theOtherArray);
extract($anotherArray);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC