xref: /PHP-5.3/ext/filter/tests/053.phpt (revision 805f552c)
1--TEST--
2filter_var() - using callback
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--FILE--
6<?php
7
8function filter_test($str) { return FALSE; }
9filter_var('durty/boy', FILTER_CALLBACK, array(
10   'options'   => 'filter_test',
11));
12
13print "Done\n";
14
15?>
16--EXPECTF--
17Done
18