preg_last_error Returns the error code of the last PCRE regexp execution. &reftitle.description; intpreg_last_error Returns the error code of the last PCRE regexp execution. &warn.undocumented.func; &reftitle.returnvalues; The error code on success. &reftitle.seealso; preg_replace