note 41207 modified in function.call-user-func-array by vrana
| From: | vrana@php.net | Date: | Tue, 17 Aug 2004 14:53:51 +0000 |
| Subject: | note 41207 modified in function.call-user-func-array by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79701@lists.php.net to get a copy of this message | ||
call_user_func_array can pass parameters as reference:
<?php
call_user_func_array(array(&$obj,$method),array(&$arg1,$arg2,$arg3))
?>
Use it as work-around for "Call-time pass-by-reference has been deprecated".
--was--
call_user_func_array can pass parameters as reference:
call_user_func_array(array(&$obj,$method),array(&$arg1,$arg2,$arg3))
Use it as work-around for "Call-time pass-by-reference has been deprecated".
http://php.net/manual/en/function.call-user-func-array.php