xref: /PHP-8.3/ext/filter/tests/009.phpt (revision 74859783)
1--TEST--
2filter_id()
3--EXTENSIONS--
4filter
5--FILE--
6<?php
7
8var_dump(filter_id("stripped"));
9var_dump(filter_id("string"));
10var_dump(filter_id("url"));
11var_dump(filter_id("int"));
12var_dump(filter_id("none"));
13var_dump(filter_id(-1));
14
15echo "Done\n";
16?>
17--EXPECT--
18int(513)
19int(513)
20int(518)
21int(257)
22bool(false)
23bool(false)
24Done
25