\Horde_Stream_Filter_Null

Stream filter class to remove null (\0) values.

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

$params is an array that can contain the following:

  • replace: (string) The string to use to replace null characters with. DEFAULT: ''

Copyright 2012-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

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

Properties

$_search

$_search : mixed

Search array.

Type

mixed

$_replace

$_replace : mixed

Replacement data

Type

mixed

Methods

onCreate()

onCreate() 

filter()

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

Parameters

$in
$out
$consumed
$closing