summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-02-24 18:49:55 +0000
committerFelipe Pena <felipe@php.net>2008-02-24 18:49:55 +0000
commit3be93e51418ac3df423f6d9e910d715153cee5ca (patch)
treecd99b24864ccd47c35f5558f50f9bfce7b92b4c0
parent6a128d5614907415c2d61783d64a993df5c183ec (diff)
downloadphp-git-3be93e51418ac3df423f6d9e910d715153cee5ca.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