#44415 [Opn->Bgs]: Call to undefined function function_get_args()

From: Date: Wed, 12 Mar 2008 10:59:06 +0000
Subject: #44415 [Opn->Bgs]: Call to undefined function function_get_args()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123219@lists.php.net to get a copy of this message
 ID:               44415
 Updated by:       felipe@php.net
 Reported By:      achew22 at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Linux 2.6.18-53.1.13.el5 #1 SMP
 PHP Version:      5.2.5
 New Comment:

func_get_args() != function_get_args()


Previous Comments:
------------------------------------------------------------------------

[2008-03-12 09:05:51] 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());




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44415&edit=1



Thread (2 messages)

« previous php.bugs (#123219) next »