From: Wez Furlong Date: Mon, 6 Jan 2003 14:04:23 +0000 (+0000) Subject: Make it slightly more obvious that the return value is relative to the length X-Git-Tag: PHP_5_0_dev_before_13561_fix~426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d23d4b366d686270e5c387b91ba9166072a36226;p=php Make it slightly more obvious that the return value is relative to the length of the input data. --- diff --git a/ext/standard/tests/file/userfilters.phpt b/ext/standard/tests/file/userfilters.phpt index 817c48b4ee..9c42e8e7f6 100644 --- a/ext/standard/tests/file/userfilters.phpt +++ b/ext/standard/tests/file/userfilters.phpt @@ -26,7 +26,7 @@ class UpperCaseFilter extends php_user_filter { { echo "write:\n"; $x = parent::write($data); - return $x; + return strlen($data); } function read($bytes)