Searched refs:preg_last_error (Results 1 – 20 of 20) sorted by relevance
6 /* Prototype : int preg_last_error ( void )12 * Pass an incorrect number of arguments to preg_last_error() to test behaviour15 echo "*** Testing preg_last_error() : error conditions ***\n";17 // Test preg_last_error with one more than the expected number of arguments18 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
2 Bug #75539 - Recursive call errors are not reported by preg_last_error()7 var_dump(preg_last_error() === \PREG_INTERNAL_ERROR);
16 var_dump(preg_last_error() === PREG_BACKTRACK_LIMIT_ERROR);19 var_dump(preg_last_error() === PREG_NO_ERROR);
2 Bug #74183 - preg_last_error not returning error code after error10 var_dump(preg_last_error() === \PREG_INTERNAL_ERROR);
16 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
16 var_dump(preg_last_error() === PREG_RECURSION_LIMIT_ERROR);19 var_dump(preg_last_error() === PREG_NO_ERROR);
16 var_dump(preg_last_error() == PREG_BAD_UTF8_OFFSET_ERROR);20 var_dump(preg_last_error() == PREG_NO_ERROR);
15 var_dump(preg_last_error() === PREG_NO_ERROR);22 var_dump(preg_last_error() === PREG_NO_ERROR);
22 var_dump(preg_last_error() == PREG_NO_ERROR);25 var_dump(preg_last_error() == PREG_BAD_UTF8_ERROR);
20 var_dump(preg_last_error() == PREG_NO_ERROR);22 var_dump(preg_last_error() == PREG_RECURSION_LIMIT_ERROR);
6 var_dump(preg_last_error());
7 preg_last_error()
6 var_dump(preg_last_error() == PREG_BAD_UTF8_ERROR);
14 var_dump(preg_last_error() === PREG_JIT_STACKLIMIT_ERROR);
15 var_dump(preg_last_error());
497 var_dump($res, $match['value'] ?? null, preg_last_error() == PREG_JIT_STACKLIMIT_ERROR);
910 switch (preg_last_error()) {
151 Function [ <internal:pcre> function preg_last_error ] {
2941 static PHP_FUNCTION(preg_last_error) in PHP_FUNCTION() argument3024 PHP_FE(preg_last_error, arginfo_preg_last_error)
2321 . Fixed bug #74183 (preg_last_error not returning error code after error).
Completed in 35 milliseconds