我有这个:
$value = filter_var($value, FILTER_CALLBACK, 'mysqli_real_escape_string');
我收到消息:
Warning: filter_var() [function.filter-var]: First argument is expected to be a
valid callback in C:\mypath\Database.class.php on line 285
但手册明确指出 filter_var 的第一个参数是输入字符串,有什么想法吗?