您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

preg_last_error

(PHP 5 >= 5.2.0)

preg_last_error — Returns the error code of the last PCRE regex execution

说明

int preg_last_error ( void )

Returns the error code of the last PCRE regex execution.

返回值

Returns one of the following constants (explained on their own page):