File tree Expand file tree Collapse file tree 4 files changed +1
-23
lines changed Expand file tree Collapse file tree 4 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 44
55use Safe \Exceptions \FunchandException ;
66
7- /**
8- * Calls the callback given by the first parameter with
9- * the parameters in param_arr.
10- *
11- * @param callable $callback The callable to be called.
12- * @param array $param_arr The parameters to be passed to the callback, as an indexed array.
13- * @return mixed Returns the return value of the callback, .
14- * @throws FunchandException
15- *
16- */
17- function call_user_func_array (callable $ callback , array $ param_arr )
18- {
19- error_clear_last ();
20- $ result = \call_user_func_array ($ callback , $ param_arr );
21- if ($ result === false ) {
22- throw FunchandException::createFromPhpError ();
23- }
24- return $ result ;
25- }
26-
27-
287/**
298 * Creates an anonymous function from the parameters passed, and
309 * returns a unique name for it.
Original file line number Diff line number Diff line change 198198 'ftp_site ' ,
199199 'ftp_ssl_connect ' ,
200200 'ftp_systype ' ,
201- 'call_user_func_array ' ,
202201 'create_function ' ,
203202 'forward_static_call_array ' ,
204203 'forward_static_call ' ,
Original file line number Diff line number Diff line change 99 'oci_lob_copy ' ,
1010 'func_get_arg ' ,
1111 //'mktime', // 7th parameter has been removed in PHP 7
12+ 'call_user_func_array ' ,
1213];
Original file line number Diff line number Diff line change @@ -199,7 +199,6 @@ services:
199199 ftp_site : ' Safe\ftp_site'
200200 ftp_ssl_connect : ' Safe\ftp_ssl_connect'
201201 ftp_systype : ' Safe\ftp_systype'
202- call_user_func_array : ' Safe\call_user_func_array'
203202 create_function : ' Safe\create_function'
204203 forward_static_call_array : ' Safe\forward_static_call_array'
205204 forward_static_call : ' Safe\forward_static_call'
You can’t perform that action at this time.
0 commit comments