xref: /PHP-5.4/ext/filter/tests/005.phpt (revision 96ca3f19)
1--TEST--
2GET/REQUEST Test with fifa example data
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--INI--
6filter.default=stripped
7--GET--
8id=f03_photos&pgurl=http%3A//fifaworldcup.yahoo.com/03/en/photozone/index.html
9--FILE--
10<?php
11echo $_GET['id'];
12echo "\n";
13echo $_GET['pgurl'];
14echo "\n";
15echo $_REQUEST['id'];
16echo "\n";
17echo $_REQUEST['pgurl'];
18?>
19--EXPECT--
20f03_photos
21http://fifaworldcup.yahoo.com/03/en/photozone/index.html
22f03_photos
23http://fifaworldcup.yahoo.com/03/en/photozone/index.html
24