function_exists

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return true if the given function has been defined
<?php function_exists(string $function): bool
<?php         try {

            return $handler($batch, $e);

        } catch (Throwable $e) {

            if (function_exists('report')) {

                report($e);

            }

        }
<?php             try {

                return $handler($batch);

            } catch (Throwable $e) {

                if (function_exists('report')) {

                    report($e);

                }

            }
<?php use Illuminate\Support\Arr;

use Illuminate\Support\Collection;



if (! function_exists('collect')) {
<?php     }

}



if (! function_exists('data_fill')) {
<?php     }

}



if (! function_exists('data_get')) {
<?php     }

}



if (! function_exists('data_set')) {
<?php     }

}



if (! function_exists('data_forget')) {
<?php     }

}



if (! function_exists('head')) {
<?php     }

}



if (! function_exists('last')) {
<?php     }

}



if (! function_exists('value')) {
<?php     public function __invoke($string)

    {

        if (function_exists('app') && app()->has('path.base')) {

            $string = str_replace(base_path().'/', '', $string);

        }
<?php use Closure;



if (! function_exists('Illuminate\Events\queueable')) {
<?php namespace Illuminate\Filesystem;



if (! function_exists('Illuminate\Filesystem\join_paths')) {
<?php         }



        return $this->option('pest') ||

            (function_exists('\Pest\\version') &&

             file_exists(base_path('tests').'/Pest.php'));

    }

}
<?php         }



        return $this->option('pest') ||

            (function_exists('\Pest\\version') &&

             file_exists(base_path('tests').'/Pest.php'));

    }