HTML5_InputStream::charsWhile
Matches as far as possible with a certain set of bytes and returns the matched substring.
Signature
public function charsWhile(|
$bytes,
[null
$max = NULL] )
Parameters
$bytes
— object- Bytes to match.
$max
— null
Returns
- bool|string