#29967 [Opn]: call_user_func_array can't be used as function parameter

From: Date: Fri, 03 Sep 2004 08:35:43 +0000
Subject: #29967 [Opn]: call_user_func_array can't be used as function parameter
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363764@lists.php.net to get a copy of this message
ID: 29967 Updated by: mfischer@php.net Reported By: mfischer@php.net Status: Open Bug Type: Documentation problem PHP Version: 5.0.1 New Comment: I forgot: it would be nice to know why this doesn't work, e.g. whats the rational behind it. Thanks Previous Comments: ------------------------------------------------------------------------ [2004-09-03 10:31:51] mfischer@php.net Description: ------------ It should be mentioned on the documentation page that func_get_args() can't be used as a function parameter directly, e.g.: $ret = call_user_func_array('mysql_connect', func_get_args()); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29967&edit=1

« previous php.doc (#969363764) next »