PHP function forward_static_call()

Availability in versions: PHP 5.3.0

Call a static method

Parameters

Parameter Data type Default value Note
$function callback not The function or method to be called. This parameter may be an array, with the name of the class, and the method, or a string, with a function name.
$parameter mixed null, Zero or more parameters to be passed to the function.
$_ mixed null

Return values

mixed

the function result, or false on error.

Other resources

Forward-static-call official documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.