1
0
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:
Ilia Alshanetsky
2009-05-02 15:58:39 +00:00
parent 30bc1b72ef
commit a0ef3cc010
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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
View File
@@ -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);