From: Wez Furlong Date: Tue, 18 Feb 2003 01:24:41 +0000 (+0000) Subject: Add basic test of read filters and read filter chain. X-Git-Tag: RELEASE_0_5~925 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e34a6bffc2136c6fad45810f6c64cd0f3cfcf68;p=php Add basic test of read filters and read filter chain. --- diff --git a/ext/standard/tests/filters/basic.phpt b/ext/standard/tests/filters/basic.phpt new file mode 100644 index 0000000000..702c1ddadd --- /dev/null +++ b/ext/standard/tests/filters/basic.phpt @@ -0,0 +1,44 @@ +--TEST-- +basic stream filter tests +--FILE-- + +--EXPECT-- +filter: string.rot13 +bool(true) +string(12) "Uryyb Gurer!" +filter: string.toupper +bool(true) +string(12) "HELLO THERE!" +filter: string.tolower +bool(true) +string(12) "hello there!" +filter: string.rot13 +bool(true) +filter: string.toupper +bool(true) +string(12) "URYYB GURER!"