xref: /php-src/ext/filter/tests/053.phpt (revision 74859783)
1--TEST--
2filter_var() - using callback
3--EXTENSIONS--
4filter
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--EXPECT--
17Done
18