/
(2024.2) Callable Functions
(2024.2) Callable Functions
PHPv8+ allows for dynamically generated callable functions. This syntax allows you to modularize your Custom Logic.'
Example:
This example defines and stores a new function into the $fnctName
variable. This function-variable can then be invoked later using the call
notation.
$fnctName = function(
$parameter1,
$parameter2,
// ... more params if needed
){
// Do something in the function
// with the parameters
};
$fnctName->call($this, $param1, $param2);
, multiple selections available,
Related content
Callable Functions
Callable Functions
More like this
(v1) Allowed Functions in Custom Logic
(v1) Allowed Functions in Custom Logic
More like this
(2024.1) Allowed Functions in Custom Logic
(2024.1) Allowed Functions in Custom Logic
More like this
(v1) .Allowed Functions in Custom Logic v2022.2
(v1) .Allowed Functions in Custom Logic v2022.2
More like this
(v1) .Allowed Functions in Custom Logic v2020.4
(v1) .Allowed Functions in Custom Logic v2020.4
More like this
(v1) .Custom API v2019.6
(v1) .Custom API v2019.6
More like this