summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_info.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-04-21 17:12:10 +0200
committerNikita Popov <nikic@php.net>2014-04-21 17:55:58 +0200
commitbda96e3c589b2b923e70abd4a5e66dfa824e8f5d (patch)
tree0b96e1f272da0c4fef4ac13462f894f183fe378d /sapi/phpdbg/phpdbg_info.c
parent5c8697184fa445fcd5fbd32b5334db2a0866464d (diff)
downloadphp-git-bda96e3c589b2b923e70abd4a5e66dfa824e8f5d.tar.gz
Use zval_get_string in print_zval and propagate TSRMLS
Diffstat (limited to 'sapi/phpdbg/phpdbg_info.c')
-rw-r--r--sapi/phpdbg/phpdbg_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_info.c b/sapi/phpdbg/phpdbg_info.c
index f7c7ab0846..5596255d6e 100644
--- a/sapi/phpdbg/phpdbg_info.c
+++ b/sapi/phpdbg/phpdbg_info.c
@@ -215,7 +215,7 @@ PHPDBG_INFO(literal) /* {{{ */
if (Z_TYPE(ops->literals[literal]) != IS_NULL) {
phpdbg_write("|-------- C%u -------> [", literal);
zend_print_zval(
- &ops->literals[literal], 0);
+ &ops->literals[literal], 0 TSRMLS_CC);
phpdbg_write("]");
phpdbg_writeln(EMPTY);
}