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