cvs: php-src /ext/filter/tests 053.phpt

From: Date: Sun, 24 Feb 2008 18:50:14 +0000
Subject: cvs: php-src /ext/filter/tests 053.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-48746@lists.php.net to get a copy of this message
felipe Sun Feb 24 18:50:14 2008 UTC Modified files: /php-src/ext/filter/tests 053.phpt Log: New test http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/053.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/filter/tests/053.phpt diff -u /dev/null php-src/ext/filter/tests/053.phpt:1.2 --- /dev/null Sun Feb 24 18:50:14 2008 +++ php-src/ext/filter/tests/053.phpt Sun Feb 24 18:50:14 2008 @@ -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

« previous php.cvs (#48746) next »