diff options
Diffstat (limited to 'ext/filter/tests/005.phpt')
| -rw-r--r-- | ext/filter/tests/005.phpt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/filter/tests/005.phpt b/ext/filter/tests/005.phpt new file mode 100644 index 0000000..b3735f5 --- /dev/null +++ b/ext/filter/tests/005.phpt @@ -0,0 +1,23 @@ +--TEST-- +GET/REQUEST Test with fifa example data +--SKIPIF-- +<?php if (!extension_loaded("filter")) die("skip"); ?> +--INI-- +filter.default=stripped +--GET-- +id=f03_photos&pgurl=http%3A//fifaworldcup.yahoo.com/03/en/photozone/index.html +--FILE-- +<?php +echo $_GET['id']; +echo "\n"; +echo $_GET['pgurl']; +echo "\n"; +echo $_REQUEST['id']; +echo "\n"; +echo $_REQUEST['pgurl']; +?> +--EXPECT-- +f03_photos +http://fifaworldcup.yahoo.com/03/en/photozone/index.html +f03_photos +http://fifaworldcup.yahoo.com/03/en/photozone/index.html |
