php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #22009 Passing function arguments as arrays
Submitted: 2003-02-02 04:46 UTC Modified: 2003-02-07 23:17 UTC
From: dakalro at yahoo dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.3.0 OS: Windows 2000
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dakalro at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-02-02 04:46 UTC] dakalro at yahoo dot com
This is not really a bug. I would like to be able to pass the arguments of a function as arrays. I've come upon problems like not knowing the number of arguments that I'll be sending to a function and I get stuck because I can't use that function and I have to go way around it (for example array_multisort()).

Thanks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-07 23:17 UTC] pollita@php.net
This functionality already exists:

http://www.php.net/manual/en/function.call-user-func-array.php
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 08 17:00:01 2025 UTC