(PHP 5 >= 5.2.0)
preg_last_error — Returns the error code of the last PCRE regex execution
Returns the error code of the last PCRE regex execution.
Returns one of the following constants (explained on their own page):