PHP 教程
PHP 正則表達(dá)式(PCRE)
preg_last_error 函數(shù)用于返回最后一個 PCRE 正則執(zhí)行產(chǎn)生的錯誤代碼。
int preg_last_error ( void )
執(zhí)行結(jié)果如下所示:
Backtrack limit was exhausted!
參數(shù)詳細(xì)說明可查看:PHP 正則表達(dá)式(PCRE)