php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44415 Call to undefined function function_get_args()
Submitted: 2008-03-12 09:05 UTC Modified: 2008-03-12 10:59 UTC
From: achew22 at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.5 OS: Linux 2.6.18-53.1.13.el5 #1 SMP
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: achew22 at gmail dot com
New email:
PHP Version: OS:

 

 [2008-03-12 09:05 UTC] achew22 at gmail dot com
Description:
------------
The function function_get_args returns an error when called inside another function

Reproduce code:
---------------
//This works
$path = func_get_args();
$path = join('/', $path);

//This fails with the error
//Fatal error: Call to undefined function function_get_args()
$path = join('/', function_get_args());



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-12 10:59 UTC] felipe@php.net
func_get_args() != function_get_args()
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 18 14:00:02 2025 UTC