final class Ascii
Restricted visibility: declared "@visibility SqlParser". Code outside that scope must not name this declaration.

Fixed ASCII case conversion, independent of the host locale on PHP 8.1 too.

Methods§

public static function letter(string $byte): bool
public static function space(string $byte): bool

Recognizes SQL whitespace bytes independently of a host character locale.

Parameters

$bytestring

Returns

bool
Test cases 1
Called from 1
Calls 2
public static function control(string $byte): bool

Recognizes a single ASCII control byte, including DEL.

Parameters

$bytestring

Returns

bool
Test cases 1
Called from 1
Calls 2

Test cases 6§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 6

Relations§

Static calls 24