PHP Manualpreg_last_error(PHP 5 >= 5.2.0) preg_last_error — Returns 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):
![]() |
PHP-Index
New Tutorial entries
|