Home
last modified time | relevance | path

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

/PHP-7.3/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.phpt20 var_dump(preg_last_error() == PREG_NO_ERROR);
22 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 Dbug76127.phpt6 var_dump(preg_last_error() == PREG_BAD_UTF8_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 Dbug76514.phpt497 var_dump($res, $match['value'] ?? null, preg_last_error() == PREG_JIT_STACKLIMIT_ERROR);
H A Dpreg_match_error4.phpt910 switch (preg_last_error()) {
/PHP-7.3/sapi/cli/tests/
H A D006.phpt151 Function [ <internal:pcre> function preg_last_error ] {
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c2941 static PHP_FUNCTION(preg_last_error) in PHP_FUNCTION() argument
3024 PHP_FE(preg_last_error, arginfo_preg_last_error)
/PHP-7.3/
H A DNEWS2321 . Fixed bug #74183 (preg_last_error not returning error code after error).

Completed in 35 milliseconds