1--TEST-- 2Test all filters returned by filter_list() 3--SKIPIF-- 4<?php if (!extension_loaded("filter")) die("skip"); ?> 5--INI-- 6precision=14 7default_charset=UTF-8 8--FILE-- 9<?php 10include dirname(__FILE__) . '/033_run.inc'; 11?> 12--EXPECT-- 13int 1 123 14boolean 1 15float 1 123 16validate_regexp O'Henry 17validate_url http://a.b.c 18validate_email foo@bar.com 19validate_ip 1.2.3.4 20string PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O'Henry 하퍼 21stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O'Henry 하퍼 22encoded PHP 1 foo%40bar.com http%3A%2F%2Fa.b.c 1.2.3.4 123 123abc%3C%3E%28%29 O%27Henry %ED%95%98%ED%8D%BC 23special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O'Henry 하퍼 24full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O'Henry 하퍼 25unsafe_raw PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O'Henry 하퍼 26email PHP 1 foo@bar.com httpa.b.c 1.2.3.4 123 123abc O'Henry 27url PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O'Henry 28number_int 1 1234 123 123 29number_float 1 1234 123 123 30magic_quotes PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O\'Henry 하퍼 31callback PHP 1 FOO@BAR.COM HTTP://A.B.C 1.2.3.4 123 123ABC<>() O'HENRY 하퍼 32