preg_last_errorReturns the error code of the last PCRE regex execution Description
int preg_last_error
( void
)
Returns the error code of the last PCRE regex execution.
Example #1 preg_last_error example
<?php The above example will output: Backtrack limit was exhausted! Return ValuesReturns one of the following constants (explained on their own page):
|