mirror of
https://github.com/php/php-src.git
synced 2024-12-15 21:05:51 +08:00
Add missing zend_parse_paramters_none() in pdo_drivers()
This commit is contained in:
parent
1b993e8778
commit
ef464f7872
@ -103,6 +103,10 @@ PHP_FUNCTION(pdo_drivers)
|
|||||||
HashPosition pos;
|
HashPosition pos;
|
||||||
pdo_driver_t **pdriver;
|
pdo_driver_t **pdriver;
|
||||||
|
|
||||||
|
if (zend_parse_parameters_none() == FAILURE) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
array_init(return_value);
|
array_init(return_value);
|
||||||
|
|
||||||
zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);
|
zend_hash_internal_pointer_reset_ex(&pdo_driver_hash, &pos);
|
||||||
|
Loading…
Reference in New Issue
Block a user