felipe Sun Feb 24 18:50:14 2008 UTC Modified files: /php-src/ext/filter/tests 053.phpt Log: New test http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/053.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/filter/tests/053.phpt diff -u /dev/null php-src/ext/filter/tests/053.phpt:1.2 --- /dev/null Sun Feb 24 18:50:14 2008 +++ php-src/ext/filter/tests/053.phpt Sun Feb 24 18:50:14 2008 @@ -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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php