mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
Fixed build, zend_parse_parameters_none() does not exist in 5.2 branch
This commit is contained in:
+3
-3
@@ -103,10 +103,10 @@ PHP_FUNCTION(pdo_drivers)
|
||||
HashPosition pos;
|
||||
pdo_driver_t **pdriver;
|
||||
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
if (ZEND_NUM_ARGS()) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
|
||||
array_init(return_value);
|
||||
|
||||
zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);
|
||||
|
||||
+3
-3
@@ -1134,10 +1134,10 @@ static PHP_METHOD(PDO, getAvailableDrivers)
|
||||
HashPosition pos;
|
||||
pdo_driver_t **pdriver;
|
||||
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
if (ZEND_NUM_ARGS()) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
|
||||
array_init(return_value);
|
||||
|
||||
zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);
|
||||
|
||||
Reference in New Issue
Block a user