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         $return = '';

        if (is_object($plate)) {

            if (method_exists($plate, $part)) {

                $return = call_user_func([$plate, $part]);

            } else if ($plate instanceof PHPlater) {

                $return = $plate->getPlate($part);

            } else if (property_exists($plate, $part) && isset($plate->$part)) {