Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Make a string's first character lowercase
<?php lcfirst(string $string): string
<?php             throw new \InvalidArgumentException(sprintf('$from (%s) and $to (%s) must be absolute paths.', $from, $to));

        }



        $from = lcfirst($this->normalizePath($from));

        $to = lcfirst($this->normalizePath($to));



        if ($directories) {
<?php         }



        $from = lcfirst($this->normalizePath($from));

        $to = lcfirst($this->normalizePath($to));



        if ($directories) {

            $from = rtrim($from, '/') . '/dummy_file';
<?php             throw new \InvalidArgumentException(sprintf('$from (%s) and $to (%s) must be absolute paths.', $from, $to));

        }



        $from = lcfirst($this->normalizePath($from));

        $to = lcfirst($this->normalizePath($to));



        if ($from === $to) {
<?php         }



        $from = lcfirst($this->normalizePath($from));

        $to = lcfirst($this->normalizePath($to));



        if ($from === $to) {

            return $directories ? '__DIR__' : '__FILE__';