mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
- Tweak version check
This commit is contained in:
parent
0de69fe97d
commit
11f26c2c2a
@ -74,7 +74,7 @@ PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#if (PHP_MAJOR_VERSION < 6)
|
||||
#if (PHP_MAJOR_VERSION <= 5) && (PHP_MINOR_VERSION < 2)
|
||||
return zend_exception_get_default();
|
||||
#else
|
||||
return zend_exception_get_default(TSRMLS_C);
|
||||
|
Loading…
Reference in New Issue
Block a user