strtoupper

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Make a string uppercase
<?php strtoupper(string $string): string
<?php     public function hydrate()

    {

        $this->dateWithFormat = \Carbon\Carbon::createFromFormat('y-m-d', $this->dateWithFormat);

        $this->allCaps = strtoupper($this->allCaps);

        $this->stringable = Str::of('Be excellent to each other');

    }
<?php     {

        if (($this->option('name') && ! Str::contains((string) $route['name'], $this->option('name'))) ||

            ($this->option('path') && ! Str::contains($route['uri'], $this->option('path'))) ||

            ($this->option('method') && ! Str::contains($route['method'], strtoupper($this->option('method')))) ||

            ($this->option('domain') && ! Str::contains((string) $route['domain'], $this->option('domain'))) ||

            ($this->option('except-vendor') && $route['vendor']) ||

            ($this->option('only-vendor') && ! $route['vendor'])) {
<?php     protected function transformHeadersToServerVars(array $headers)

    {

        return collect(array_merge($this->defaultHeaders, $headers))->mapWithKeys(function ($value, $name) {

            $name = strtr(strtoupper($name), '-', '_');



            return [$this->formatServerHeaderKey($name) => $value];

        })->all();
<?php             return (int) $postMaxSize;

        }



        $metric = strtoupper(substr($postMaxSize, -1));



        $postMaxSize = (int) $postMaxSize;
<?php     {

        $arguments = func_get_args();



        $async = strtoupper((string) ($arguments[0] ?? null)) === 'ASYNC';



        foreach ($this->client->_masters() as $master) {

            $async
<?php     {

        $arguments = func_get_args();



        if (strtoupper((string) ($arguments[0] ?? null)) === 'ASYNC') {

            return $this->command('flushdb', [true]);

        }
<?php     protected function getHash($value)

    {

        $hash = strtoupper(sha1((string) $value));



        $hashPrefix = substr($hash, 0, 5);
<?php {

    public function set($model, string $key, $value, array $attributes)

    {

        return is_string($value) ? strtoupper($value) : $value;

    }

}
<?php     {

        return Attribute::make(

            function ($value) {

                return strtoupper($value);

            },

            function ($value) {

                return strtoupper($value);
<?php                 return strtoupper($value);

            },

            function ($value) {

                return strtoupper($value);

            }

        );

    }
<?php {

    public function get($model, $key, $value, $attributes)

    {

        return strtoupper($value);

    }



    public function set($model, $key, $value, $attributes)
<?php     public function set($model, $key, $value, $attributes)

    {

        return [$key => strtoupper($value)];

    }

}
<?php             return $name;

        }]);

        $router->bind('bar', function ($value) {

            return strtoupper($value);

        });

        $this->assertSame('TAYLOR', $router->dispatch(Request::create('foo/taylor', 'GET'))->getContent());

    }
<?php {

    public function bind($value, $route)

    {

        return strtoupper($value);

    }



    public function find($value, $route)
<?php     public function first()

    {

        return strtoupper($this->value);

    }

}