strtolower

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Make a string lowercase
<?php strtolower(string $string): string
<?php         public array $whitelistedPaths = [],

        public ?string $preset = null,

    ) {

        $this->whitelistedWords = array_map(strtolower(...), $whitelistedWords);

    }
<?php     public function ignoreWords(array $words): void

    {

        $this->whitelistedWords = array_merge($this->whitelistedWords, array_map(strtolower(...), $words));



        $this->persist();

    }
<?php     public function isWordIgnored(string $word): bool

    {

        return in_array(strtolower($word), [

            ...$this->whitelistedWords,

            ...PresetProvider::whitelistedWords($this->preset),

        ]);
<?php         $fromColumn = isset($this->lastColumn[$issue->file][$issue->line][$issue->misspelling->word])

            ? $this->lastColumn[$issue->file][$issue->line][$issue->misspelling->word] + 1 : 0;



        return (int) strpos(strtolower($lineContent), $issue->misspelling->word, $fromColumn);

    }



    private function getDuration(float $startTime): string
<?php         $input = (string) preg_replace('/\s+/', ' ', $input);




        return strtolower($input);

    }

}