From: achew22 at gmail dot com Operating system: Linux 2.6.18-53.1.13.el5 #1 SMP PHP version: 5.2.5 PHP Bug Type: Unknown/Other Function Bug description: Call to undefined function function_get_args()
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 bug report at http://bugs.php.net/?id=44415&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44415&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44415&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44415&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44415&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44415&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44415&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44415&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44415&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44415&r=support Expected behavior: http://bugs.php.net/fix.php?id=44415&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44415&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44415&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44415&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44415&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44415&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44415&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44415&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44415&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44415&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44415&r=mysqlcfg