@@ -1002,7 +1002,7 @@ int php_oci_bind_post_exec(zval *data)
1002
1002
HashTable * hash ;
1003
1003
1004
1004
SEPARATE_ARRAY (zv );
1005
- hash = HASH_OF (zv );
1005
+ hash = Z_ARRVAL_P (zv );
1006
1006
zend_hash_internal_pointer_reset (hash );
1007
1007
1008
1008
switch (bind -> array .type ) {
@@ -1727,7 +1727,7 @@ php_oci_bind *php_oci_bind_array_helper_string(zval *var, zend_long max_table_le
1727
1727
zval * entry ;
1728
1728
1729
1729
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 );
1731
1731
1732
1732
if (maxlength == -1 ) {
1733
1733
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
1801
1801
zval * entry ;
1802
1802
1803
1803
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 );
1805
1805
1806
1806
bind = emalloc (sizeof (php_oci_bind ));
1807
1807
ZVAL_UNDEF (& bind -> val );
@@ -1842,7 +1842,7 @@ php_oci_bind *php_oci_bind_array_helper_double(zval *var, zend_long max_table_le
1842
1842
zval * entry ;
1843
1843
1844
1844
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 );
1846
1846
1847
1847
bind = emalloc (sizeof (php_oci_bind ));
1848
1848
ZVAL_UNDEF (& bind -> val );
@@ -1884,7 +1884,7 @@ php_oci_bind *php_oci_bind_array_helper_date(zval *var, zend_long max_table_leng
1884
1884
sword errstatus ;
1885
1885
1886
1886
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 );
1888
1888
1889
1889
bind = emalloc (sizeof (php_oci_bind ));
1890
1890
ZVAL_UNDEF (& bind -> val );
0 commit comments