blob: a179f3ea35bc3bd1c8ce7cec8623bbd465132fe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
filter_var() - using callback
--SKIPIF--
<?php if (!extension_loaded("filter")) die("skip"); ?>
--FILE--
<?php
function filter_test($str) { return FALSE; }
filter_var('durty/boy', FILTER_CALLBACK, array(
'options' => 'filter_test',
));
print "Done\n";
?>
--EXPECTF--
Done
|