call_user_func

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Call the callback given by the first parameter
<?php call_user_func(callable $callback, mixed ...$args): mixed
<?php         $elements = Element::replaceSystemChars($elements);



        if ($output) {

            echo ($callback === null) ? $elements : call_user_func($callback, $elements);

        } else {

            return ($callback === null) ? $elements : call_user_func($callback, $elements);

        }
<?php         if ($output) {

            echo ($callback === null) ? $elements : call_user_func($callback, $elements);

        } else {

            return ($callback === null) ? $elements : call_user_func($callback, $elements);

        }

    }
<?php         $elements = Element::replaceSystemChars($elements);



        return ($callback === null) ? $elements : call_user_func($callback, $elements);

    }
<?php         $elements = Element::replaceSystemChars($elements);



        file_put_contents($filePath, ($callback === null) ? $elements : call_user_func($callback, $elements));

    }

}