Gen. partnerAlgotech

PHP function forward_static_call_array()

Call a static method and pass the arguments as array

|
September 11, 2019

Availability in versions: PHP 5.3.0

Call a static method and pass the arguments as array

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.
$parameters array null

Return values

mixed

the function result, or false on error.

Other resources

Forward-static-call-array official documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.