This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Lines::getCharPairs( string $line )

Get all pairs of adjacent characters within the line.


Parameters

$line

(Required)


Return

(bool)


Source

File: vendor/vlucas/phpdotenv/src/Lines.php

    private static function getCharPairs($line)
    {
        $chars = str_split($line);

        return array_map(null, $chars, array_slice($chars, 1));
    }