Name
forward_static_call
Synopsis
mixed forward_static_call(callablefunction
[, mixedparameter1
[, ... mixedparameterN
]])
Calls the function named function
in
the current object’s context with the parameters provided. If
function
includes a class name, it uses
late static binding to find the appropriate class for the method.
Returns the value returned by the function.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.