Two index zval functions are macros in php 7.4 (#1001)

This commit is contained in:
Jenny Tam 2019-06-07 15:45:42 -07:00 committed by GitHub
parent ec3a7a4437
commit a092523a2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2496,7 +2496,7 @@ namespace core {
inline void sqlsrv_add_index_zval( _Inout_ sqlsrv_context& ctx, _Inout_ zval* array, _In_ zend_ulong index, _In_ zval* value TSRMLS_DC)
{
int zr = ::add_index_zval( array, index, value );
int zr = add_index_zval( array, index, value );
CHECK_ZEND_ERROR( zr, ctx, SQLSRV_ERROR_ZEND_HASH ) {
throw CoreException();
}
@ -2504,7 +2504,7 @@ namespace core {
inline void sqlsrv_add_next_index_zval( _Inout_ sqlsrv_context& ctx, _Inout_ zval* array, _In_ zval* value TSRMLS_DC)
{
int zr = ::add_next_index_zval( array, value );
int zr = add_next_index_zval( array, value );
CHECK_ZEND_ERROR( zr, ctx, SQLSRV_ERROR_ZEND_HASH ) {
throw CoreException();
}