Skip to content

Commit 49944e4

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents 171389b + e394653 commit 49944e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/oci8/oci8_statement.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ int php_oci_bind_post_exec(zval *data)
10021002
HashTable *hash;
10031003

10041004
SEPARATE_ARRAY(zv);
1005-
hash = HASH_OF(zv);
1005+
hash = Z_ARRVAL_P(zv);
10061006
zend_hash_internal_pointer_reset(hash);
10071007

10081008
switch (bind->array.type) {
@@ -1727,7 +1727,7 @@ php_oci_bind *php_oci_bind_array_helper_string(zval *var, zend_long max_table_le
17271727
zval *entry;
17281728

17291729
SEPARATE_ARRAY(var); /* TODO: may be use new HashTable iteration and prevent inplace modification */
1730-
hash = HASH_OF(var);
1730+
hash = Z_ARRVAL_P(var);
17311731

17321732
if (maxlength == -1) {
17331733
zend_hash_internal_pointer_reset(hash);
@@ -1801,7 +1801,7 @@ php_oci_bind *php_oci_bind_array_helper_number(zval *var, zend_long max_table_le
18011801
zval *entry;
18021802

18031803
SEPARATE_ARRAY(var); /* TODO: may be use new HashTable iteration and prevent inplace modification */
1804-
hash = HASH_OF(var);
1804+
hash = Z_ARRVAL_P(var);
18051805

18061806
bind = emalloc(sizeof(php_oci_bind));
18071807
ZVAL_UNDEF(&bind->val);
@@ -1842,7 +1842,7 @@ php_oci_bind *php_oci_bind_array_helper_double(zval *var, zend_long max_table_le
18421842
zval *entry;
18431843

18441844
SEPARATE_ARRAY(var); /* TODO: may be use new HashTable iteration and prevent inplace modification */
1845-
hash = HASH_OF(var);
1845+
hash = Z_ARRVAL_P(var);
18461846

18471847
bind = emalloc(sizeof(php_oci_bind));
18481848
ZVAL_UNDEF(&bind->val);
@@ -1884,7 +1884,7 @@ php_oci_bind *php_oci_bind_array_helper_date(zval *var, zend_long max_table_leng
18841884
sword errstatus;
18851885

18861886
SEPARATE_ARRAY(var); /* TODO: may be use new HashTable iteration and prevent inplace modification */
1887-
hash = HASH_OF(var);
1887+
hash = Z_ARRVAL_P(var);
18881888

18891889
bind = emalloc(sizeof(php_oci_bind));
18901890
ZVAL_UNDEF(&bind->val);

0 commit comments

Comments
 (0)