xref: /PHP-7.3/ext/filter/tests/006.phpt (revision 17ccbeec)
1--TEST--
2filter_input() 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