--TEST--
filter_var() and FILTER_UNSAFE_RAW
--EXTENSIONS--
filter
--FILE--
test para
", FILTER_UNSAFE_RAW, FILTER_FLAG_ENCODE_AMP));
var_dump(filter_var("a[!@#$%^&*()@a@#$%^&*(.
com@#$%^&*(", FILTER_UNSAFE_RAW, FILTER_FLAG_ENCODE_AMP));
var_dump(filter_var("white space here \ \ \" some more", FILTER_UNSAFE_RAW, FILTER_FLAG_ENCODE_AMP));
var_dump(filter_var("", FILTER_UNSAFE_RAW, FILTER_FLAG_ENCODE_AMP));
var_dump(filter_var(" 123456789000000 ", FILTER_UNSAFE_RAW, FILTER_FLAG_ENCODE_AMP));
echo "Done\n";
?>
--EXPECT--
string(18) "}"test para
"
string(53) "a[!@#$%^&*()@a@#$%^&*(.
com@#$%^&*("
string(32) "white space here \ \ " some more"
string(0) ""
string(48) " 123456789000000 "
Done