\Horde_Stream_Filter_Eol

Stream filter class to convert EOL characters.

Usage: stream_filter_register('horde_eol', 'Horde_Stream_Filter_Eol'); streamfilter[app|pre]pend($stream, 'horde_eol', [ STREAMFILTER[READ|WRITE|ALL] ], [ $params ]);

$params is an array that can contain the following:

  • eol: (string) The EOL string to use. DEFAULT: ("\r\n")

Summary

Methods
Properties
Constants
onCreate()
filter()
No public properties found
No constants found
No protected methods found
$_replace
$_search
$_split
N/A
No private methods found
No private properties found
N/A

Properties

$_replace

$_replace : mixed

Replacement data

Type

mixed

$_search

$_search : mixed

Search array.

Type

mixed

$_split

$_split : string

First character of a multi-character EOL.

Type

string

Methods

onCreate()

onCreate() 

filter()

filter(  $in,   $out,   $consumed,   $closing) 

Parameters

$in
$out
$consumed
$closing