Skip to content
Snippets Groups Projects
Commit 5e623b8d authored by Stanley Cheung's avatar Stanley Cheung Committed by GitHub
Browse files

Merge pull request #7581 from stanley-cheung/php-fix-zts-error-v1_0

PHP: missed a macro
parents 18e54a54 d083c148
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ void php_grpc_read_args_array(zval *args_array, ...@@ -84,7 +84,7 @@ void php_grpc_read_args_array(zval *args_array,
array_hash = Z_ARRVAL_P(args_array); array_hash = Z_ARRVAL_P(args_array);
if (!array_hash) { if (!array_hash) {
zend_throw_exception(spl_ce_InvalidArgumentException, zend_throw_exception(spl_ce_InvalidArgumentException,
"array_hash is NULL", 1); "array_hash is NULL", 1 TSRMLS_CC);
return; return;
} }
args->num_args = zend_hash_num_elements(array_hash); args->num_args = zend_hash_num_elements(array_hash);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment