Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Make a string's first character uppercase
ucfirst(string $string): string
        }



        
$drivername $this->getDriverName();

        
$classnameLocal sprintf('\Intervention\Image\%s\Commands\%sCommand'$drivernameucfirst($name));

        
$classnameGlobal sprintf('\Intervention\Image\Commands\%sCommand'ucfirst($name));



        if (
class_exists($classnameLocal)) {
        $drivername $this->getDriverName();

        
$classnameLocal sprintf('\Intervention\Image\%s\Commands\%sCommand'$drivernameucfirst($name));

        
$classnameGlobal sprintf('\Intervention\Image\Commands\%sCommand'ucfirst($name));



        if (
class_exists($classnameLocal)) {

            return 
$classnameLocal;
    private function createDriver()

    {

        if (
is_string($this->config['driver'])) {

            
$drivername ucfirst($this->config['driver']);

            
$driverclass sprintf('Intervention\\Image\\%s\\Driver'$drivername);



            if (
class_exists($driverclass)) {