Flow PHP

RootlessDocument

Read onlyYes
FinalYes

Methods

matches()  : bool
An optional UTF-8 BOM, then only whitespace, comments and processing instructions - what libxml 2.12 and later report as an empty document. Reading stops at the first byte that proves the document has more.

Methods

matches()

An optional UTF-8 BOM, then only whitespace, comments and processing instructions - what libxml 2.12 and later report as an empty document. Reading stops at the first byte that proves the document has more.

public matches(SourceStream $stream, int<1, max> $bufferSize) : bool
Parameters
$stream : SourceStream
$bufferSize : int<1, max>

bytes read from the stream at a time

Return values
bool
On this page

Search results