Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Line 64 of http://svn.php.net/repository/php/php-src/trunk/ext/pcre/php... shows that they do handle it.

And you use the preg_last_error() function to see it.

The return false is for php errors (i.e. programming errors, which also raise warnings), not library errors.



Setting a flag and failing silently is still failing silently.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: