Home
last modified time | relevance | path

Searched refs:preg_last_error (Results 1 – 18 of 18) sorted by relevance

/PHP-7.2/ext/pcre/tests/
H A Dpreg_last_error_error.phpt6 /* Prototype : int preg_last_error ( void )
12 * Pass an incorrect number of arguments to preg_last_error() to test behaviour
15 echo "*** Testing preg_last_error() : error conditions ***\n";
17 // Test preg_last_error with one more than the expected number of arguments
18 echo "\n-- Testing preg_last_error() function with more than expected no. of arguments --\n";
20 var_dump( preg_last_error($extra_arg) );
24 *** Testing preg_last_error() : error conditions ***
26 -- Testing preg_last_error() function with more than expected no. of arguments --
28 Warning: preg_last_error() expects exactly 0 parameters, 1 given in %s on line %d
H A Dbug75539.phpt2 Bug #75539 - Recursive call errors are not reported by preg_last_error()
7 var_dump(preg_last_error() === \PREG_INTERNAL_ERROR);
H A Dbacktrack_limit.phpt16 var_dump(preg_last_error() === PREG_BACKTRACK_LIMIT_ERROR);
19 var_dump(preg_last_error() === PREG_NO_ERROR);
H A Dbug74183.phpt2 Bug #74183 - preg_last_error not returning error code after error
10 var_dump(preg_last_error() === \PREG_INTERNAL_ERROR);
H A Dsplit2.phpt16 var_dump(preg_last_error(1));
18 var_dump(preg_last_error() == PREG_NO_ERROR);
20 var_dump(preg_last_error() == PREG_RECURSION_LIMIT_ERROR);
310 Warning: preg_last_error() expects exactly 0 parameters, 1 given in %s on line %d
H A Drecursion_limit.phpt16 var_dump(preg_last_error() === PREG_RECURSION_LIMIT_ERROR);
19 var_dump(preg_last_error() === PREG_NO_ERROR);
H A Dinvalid_utf8_offset.phpt16 var_dump(preg_last_error() == PREG_BAD_UTF8_OFFSET_ERROR);
20 var_dump(preg_last_error() == PREG_NO_ERROR);
H A Dbug37800.phpt15 var_dump(preg_last_error() === PREG_NO_ERROR);
22 var_dump(preg_last_error() === PREG_NO_ERROR);
H A D007.phpt22 var_dump(preg_last_error() == PREG_NO_ERROR);
25 var_dump(preg_last_error() == PREG_BAD_UTF8_ERROR);
H A Dgrep2.phpt16 var_dump(preg_last_error() == PREG_NO_ERROR);
18 var_dump(preg_last_error() == PREG_RECURSION_LIMIT_ERROR);
H A Dbug75089.phpt6 var_dump(preg_last_error());
H A Dbug77827.phpt7 preg_last_error()
H A Dpreg_match_error3.phpt14 var_dump(preg_last_error() === PREG_JIT_STACKLIMIT_ERROR);
H A Dinvalid_utf8.phpt15 var_dump(preg_last_error());
H A Dpreg_match_error4.phpt910 switch (preg_last_error()) {
/PHP-7.2/sapi/cli/tests/
H A D006.phpt145 Function [ <internal:pcre> function preg_last_error ] {
/PHP-7.2/ext/pcre/
H A Dphp_pcre.c2673 static PHP_FUNCTION(preg_last_error) in PHP_FUNCTION() argument
2756 PHP_FE(preg_last_error, arginfo_preg_last_error)
/PHP-7.2/
H A DNEWS1312 . Fixed bug #74183 (preg_last_error not returning error code after error).

Completed in 56 milliseconds