summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-11-21 23:53:37 +0100
committerAnatol Belski <ab@php.net>2016-11-21 23:53:37 +0100
commit5e9b4c26a5e43a4c97555b69b105c265240febd2 (patch)
treef1543bcc076147e5ea1982dc352893fd7a9f2e82 /ext/json/json.c
parent914ff56cff2b10ba5bd29cae75248d2ed123bc04 (diff)
downloadphp-git-5e9b4c26a5e43a4c97555b69b105c265240febd2.tar.gz
remove TSRMLS_*
Diffstat (limited to 'ext/json/json.c')
-rw-r--r--ext/json/json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/json.c b/ext/json/json.c
index a58cb31275..01319d5f5b 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -261,12 +261,12 @@ static PHP_FUNCTION(json_decode)
}
if (depth <= 0) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be greater than zero");
+ php_error_docref(NULL, E_WARNING, "Depth must be greater than zero");
RETURN_NULL();
}
if (depth > INT_MAX) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be lower than %d", INT_MAX);
+ php_error_docref(NULL, E_WARNING, "Depth must be lower than %d", INT_MAX);
RETURN_NULL();
}