Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Regular Expression Functions (Perl-Compatible) : preg_last_error

preg_last_error

Returns the error code of the last PCRE regex execution (PHP 5 >= 5.2.0)
int preg_last_error ( )


Code Examples / Notes » preg_last_error

pons+phpnote

For your convenience:
PREG_NO_ERROR = 0
PREG_INTERNAL_ERROR = 1
PREG_BACKTRACK_LIMIT_ERROR = 2
PREG_RECURSION_LIMIT_ERROR = 3
PREG_BAD_UTF8_ERROR = 4


Change Language


Follow Navioo On Twitter
Pattern Modifiers
Pattern Syntax
preg_grep
preg_last_error
preg_match_all
preg_match
preg_quote
preg_replace_callback
preg_replace
preg_split
eXTReMe Tracker