This commit is contained in:
Felipe Pena 2008-02-24 18:50:14 +00:00
parent 4707350eed
commit dbf4e3cab9

15
ext/filter/tests/053.phpt Normal file
View File

@ -0,0 +1,15 @@
--TEST--
filter_var() - using callback
--FILE--
<?php
function filter_test($str) { return FALSE; }
filter_var('durty/boy', FILTER_CALLBACK, array(
'options' => 'filter_test',
));
print "Done\n";
?>
--EXPECTF--
Done