StreamSkipBomTrait
Description of StreamSkipBomTrait
Tags
Table of Contents
Properties
- $bomUtf8 : mixed
- $invalidBoms2B : mixed
- $invalidBoms3B : mixed
- $invalidBoms4B : mixed
Methods
- skipBom() : void
Properties
$bomUtf8
private
mixed
$bomUtf8
= ""
$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