xref: /PHP-8.3/ext/filter/tests/006.phpt (revision bf94010b)
1--TEST--
2filter_input() test
3--EXTENSIONS--
4filter
5--POST--
6foo=<b>abc</b>
7--FILE--
8<?php
9echo filter_input(INPUT_POST, 'foo', FILTER_SANITIZE_SPECIAL_CHARS);
10?>
11--EXPECT--
12&#60;b&#62;abc&#60;/b&#62;
13