summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-02-24 18:49:40 +0000
committerFelipe Pena <felipe@php.net>2008-02-24 18:49:40 +0000
commit7af1de82e387bff04474db8e851afc5111b7bb91 (patch)
tree8b4d715f687c03bfb67c8e432bf64fb0e7efe805
parentf75a2de1c17836b97cdc8f6bd9b269b745bf5c0a (diff)
downloadphp-git-7af1de82e387bff04474db8e851afc5111b7bb91.tar.gz
New test
-rw-r--r--ext/filter/tests/053.phpt15
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