mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
New test
This commit is contained in:
parent
4707350eed
commit
dbf4e3cab9
15
ext/filter/tests/053.phpt
Normal file
15
ext/filter/tests/053.phpt
Normal 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
|
Loading…
Reference in New Issue
Block a user