xref: /PHP-7.0/ext/filter/tests/006.phpt (revision 2c3db736)
1--TEST--
2filter() test
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--POST--
6foo=<b>abc</b>
7--FILE--
8<?php
9echo filter_input(INPUT_POST, 'foo', FILTER_SANITIZE_STRIPPED);
10?>
11--EXPECT--
12abc
13