ID: 44415 Updated by: [EMAIL PROTECTED] 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