Merge branch 'PHP-7.0'

This commit is contained in:
Xinchen Hui 2016-01-01 07:07:29 -08:00
commit 91e899b489

View file

@ -1460,6 +1460,7 @@ static void php_ldap_do_modify(INTERNAL_FUNCTION_PARAMETERS, int oper)
value = zend_hash_get_current_data(Z_ARRVAL_P(entry));
ZVAL_DEREF(value);
if (Z_TYPE_P(value) != IS_ARRAY) {
num_values = 1;
} else {