Documentation

StreamSkipBomTrait

Description of StreamSkipBomTrait

Tags
author

zozlak

Table of Contents

Properties

$bomUtf8  : mixed
$invalidBoms2B  : mixed
$invalidBoms3B  : mixed
$invalidBoms4B  : mixed

Methods

skipBom()  : void

Properties

$invalidBoms2B

private mixed $invalidBoms2B = ["\xef\xff" => "UTF-16 BE", "\xff\xfe" => "UTF-16 LE"]

$invalidBoms3B

private mixed $invalidBoms3B = ["+/v" => "UTF-7", "\xf7dL" => "UTF-1", "\x0e\xfe\xff" => "SCSU", "\xfb\xee(" => "BOCU-1"]

$invalidBoms4B

private mixed $invalidBoms4B = ["\x00\x00\xfe\xff" => "UTF-32 BE", "\xff\xfe\x00\x00" => "UTF-32 LE", "\xddsfs" => "UTF-EBCDIC", "\x841\x953" => "GB18030"]

Methods

skipBom()

private skipBom(StreamInterface $stream) : void
Parameters
$stream : StreamInterface

        
On this page

Search results