4 ms·
Line 64 of http://svn.php.net/repository/php/php-src/trunk/ext/pcre/php_pcre.c http://svn.php.net/repository/php/php-src/trunk/ext/pcre/php... shows that they d
by ars 16y ago
Line 64 of http://svn.php.net/repository/php/php-src/trunk/ext/pcre/php_pcre.c 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.
- paulgb 16y agoSetting a flag and failing silently is still failing silently.