Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Verify that a value can be called as a function from the current scope.
<?php is_callable(mixed $value, bool $syntax_only = false, string &$callable_name = null): bool
<?php         $this->arguments[1] = $height;

        $this->arguments[2] = function ($constraint) use ($additionalConstraints) {

            $constraint->aspectRatio();

            if(is_callable($additionalConstraints))

                $additionalConstraints($constraint);

        };
<?php         $this->arguments[1] = null;

        $this->arguments[2] = function ($constraint) use ($additionalConstraints) {

            $constraint->aspectRatio();

            if(is_callable($additionalConstraints))

                $additionalConstraints($constraint);

        };
<?php             $imagecache = new ImageCache($this);




            if (is_callable($callback)) {

                $callback($imagecache);

            }
<?php                     $callback = $config->get("imagecache::templates.{$template}");



                    if (is_callable($callback) || class_exists($callback)) {




                        $content = $app['image']->cache(function ($image) use ($image_path, $callback) {
<?php                         $content = $app['image']->cache(function ($image) use ($image_path, $callback) {

                            

                            switch (true) {

                                case is_callable($callback):

                                    return $callback($image->make($image_path));

                                    break;

                                
<?php         $this->arguments[1] = $height;

        $this->arguments[2] = function ($constraint) use ($additionalConstraints) {

            $constraint->aspectRatio();

            if(is_callable($additionalConstraints))

                $additionalConstraints($constraint);

        };
<?php         $this->arguments[1] = null;

        $this->arguments[2] = function ($constraint) use ($additionalConstraints) {

            $constraint->aspectRatio();

            if(is_callable($additionalConstraints))

                $additionalConstraints($constraint);

        };
<?php     {

        $constraint = new Constraint(clone $this);



        if (is_callable($callback)) {

            $callback($constraint);

        }