Searched refs:preg_last_error (Results 1 – 12 of 12) 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
15 var_dump(preg_last_error() === PREG_BACKTRACK_LIMIT_ERROR);18 var_dump(preg_last_error() === PREG_NO_ERROR);
14 var_dump(preg_last_error(1));16 var_dump(preg_last_error() == PREG_NO_ERROR);18 var_dump(preg_last_error() == PREG_RECURSION_LIMIT_ERROR);308 Warning: preg_last_error() expects exactly 0 parameters, 1 given in %s on line %d
15 var_dump(preg_last_error() === PREG_RECURSION_LIMIT_ERROR);18 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);
16 var_dump(preg_last_error() == PREG_NO_ERROR);18 var_dump(preg_last_error() == PREG_RECURSION_LIMIT_ERROR);
15 var_dump(preg_last_error());
131 Function [ <internal:pcre> function preg_last_error ] {
1829 static PHP_FUNCTION(preg_last_error) in PHP_FUNCTION() argument1905 PHP_FE(preg_last_error, arginfo_preg_last_error)
5187 . Added preg_last_error(). (Andrei)
Completed in 33 milliseconds