Home
last modified time | relevance | path

Searched refs:FILTER_VALIDATE_REGEXP (Results 1 – 7 of 7) sorted by relevance

/PHP-8.2/ext/filter/tests/
H A D017.phpt2 filter_var() and FILTER_VALIDATE_REGEXP
8 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/.*/'))));
9 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^b(.*)/'))));
10 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^d(.*)/'))));
11 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/blah/'))));
12 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/\[/'))));
14 filter_var("data", FILTER_VALIDATE_REGEXP);
H A Dfilter_null_on_failure.phpt15 var_dump(filter_var("invalid", FILTER_VALIDATE_REGEXP, [
/PHP-8.2/ext/pcre/tests/
H A Dbug77193.phpt14 filter_var('http', FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => '/^http$/i']]);
/PHP-8.2/ext/filter/
H A Dfilter_private.h63 #define FILTER_VALIDATE_REGEXP 0x0110 macro
H A Dfilter.stub.php83 const FILTER_VALIDATE_REGEXP = UNKNOWN; define
H A Dfilter_arginfo.h78 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_REGEXP", FILTER_VALIDATE_REGEXP, CONST_PERSISTENT); in register_filter_symbols()
H A Dfilter.c43 { "validate_regexp", FILTER_VALIDATE_REGEXP, php_filter_validate_regexp },

Completed in 9 milliseconds