blob: e49a379601e7c6d0da40ea469a7ae7786024fd06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
--TEST--
filter_list()
--SKIPIF--
<?php if (!extension_loaded("filter")) die("skip"); ?>
--FILE--
<?php
var_dump(filter_list());
var_dump(filter_list(array()));
echo "Done\n";
?>
--EXPECTF--
array(21) {
[0]=>
string(3) "int"
[1]=>
string(7) "boolean"
[2]=>
string(5) "float"
[3]=>
string(15) "validate_regexp"
[4]=>
string(15) "validate_domain"
[5]=>
string(12) "validate_url"
[6]=>
string(14) "validate_email"
[7]=>
string(11) "validate_ip"
[8]=>
string(12) "validate_mac"
[9]=>
string(6) "string"
[10]=>
string(8) "stripped"
[11]=>
string(7) "encoded"
[12]=>
string(13) "special_chars"
[13]=>
string(18) "full_special_chars"
[14]=>
string(10) "unsafe_raw"
[15]=>
string(5) "email"
[16]=>
string(3) "url"
[17]=>
string(10) "number_int"
[18]=>
string(12) "number_float"
[19]=>
string(12) "magic_quotes"
[20]=>
string(8) "callback"
}
Warning: filter_list() expects exactly 0 parameters, 1 given in %s on line %d
NULL
Done
|