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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dave at psntn dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 May 16 07:01:33 2024 UTC