diff options
author | Felipe Pena <felipe@php.net> | 2008-02-24 18:49:40 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-02-24 18:49:40 +0000 |
commit | 7af1de82e387bff04474db8e851afc5111b7bb91 (patch) | |
tree | 8b4d715f687c03bfb67c8e432bf64fb0e7efe805 | |
parent | f75a2de1c17836b97cdc8f6bd9b269b745bf5c0a (diff) | |
download | php-git-7af1de82e387bff04474db8e851afc5111b7bb91.tar.gz |
New test
-rw-r--r-- | ext/filter/tests/053.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/filter/tests/053.phpt b/ext/filter/tests/053.phpt new file mode 100644 index 0000000000..218f7fd01b --- /dev/null +++ b/ext/filter/tests/053.phpt @@ -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 |