Browse Source

- Simplify by remove redundant checks

migration/RELEASE_1_0_0
Marcus Boerger 21 years ago
parent
commit
76df257b15
  1. 2
      ext/pdo/pdo.c

2
ext/pdo/pdo.c

@ -67,7 +67,7 @@ PDO_API char *php_pdo_str_tolower_dup(const char *src, int len)
PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC)
{
#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1))
#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL)
if (!root) {
if (!spl_ce_RuntimeException) {
zend_class_entry **pce;

Loading…
Cancel
Save