svn: /phpdoc/en/trunk/reference/stream/functions/ stream-filter-append.xml stream-filter-prepend.xml

From: Date: Sun, 21 Feb 2016 12:48:31 +0000
Subject: svn: /phpdoc/en/trunk/reference/stream/functions/ stream-filter-append.xml stream-filter-prepend.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14030@lists.php.net to get a copy of this message
tpunt Sun, 21 Feb 2016 12:48:31 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=338619 Log: Resolve doc bug #71638 Bug: https://bugs.php.net/71638 (Open) [minor clarification] return value on fail of stream_filter_append() Changed paths: U phpdoc/en/trunk/reference/stream/functions/stream-filter-append.xml U phpdoc/en/trunk/reference/stream/functions/stream-filter-prepend.xml Modified: phpdoc/en/trunk/reference/stream/functions/stream-filter-append.xml =================================================================== --- phpdoc/en/trunk/reference/stream/functions/stream-filter-append.xml 2016-02-20 10:29:04 UTC (rev 338618) +++ phpdoc/en/trunk/reference/stream/functions/stream-filter-append.xml 2016-02-21 12:48:31 UTC (rev 338619) @@ -77,9 +77,15 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns a resource which can be used to refer to this filter - instance during a call to <function>stream_filter_remove</function>. + Returns a resource on success or &false; on failure. The resource can be + used to refer to this filter instance during a call to + <function>stream_filter_remove</function>. </para> + + <para> + &false; is returned if <parameter>stream</parameter> is not a resource or + if <parameter>filtername</parameter> cannot be located. + </para> </refsect1> <refsect1 role="changelog"> Modified: phpdoc/en/trunk/reference/stream/functions/stream-filter-prepend.xml =================================================================== --- phpdoc/en/trunk/reference/stream/functions/stream-filter-prepend.xml 2016-02-20 10:29:04 UTC (rev 338618) +++ phpdoc/en/trunk/reference/stream/functions/stream-filter-prepend.xml 2016-02-21 12:48:31 UTC (rev 338619) @@ -78,9 +78,15 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns a resource which can be used to refer to this filter - instance during a call to <function>stream_filter_remove</function>. + Returns a resource on success or &false; on failure. The resource can be + used to refer to this filter instance during a call to + <function>stream_filter_remove</function>. </para> + + <para> + &false; is returned if <parameter>stream</parameter> is not a resource or + if <parameter>filtername</parameter> cannot be located. + </para> </refsect1> <refsect1 role="changelog">

« previous php.doc.cvs (#14030) next »