diff options
author | Xinchen Hui <laruence@php.net> | 2015-08-27 11:34:52 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-08-27 11:38:11 +0800 |
commit | c359ca8c3dea661cc2faa95270f59469ee8ee9d0 (patch) | |
tree | 193bcd59d089e64ef1c37d23d8b916015e168dcb /sapi/phpdbg/phpdbg_info.c | |
parent | b795ce6de54b303c51b3d6f6437ed981afd9fd57 (diff) | |
download | php-git-c359ca8c3dea661cc2faa95270f59469ee8ee9d0.tar.gz |
Fixed printing
Diffstat (limited to 'sapi/phpdbg/phpdbg_info.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_info.c b/sapi/phpdbg/phpdbg_info.c index 51e12b7e82..f947dc4864 100644 --- a/sapi/phpdbg/phpdbg_info.c +++ b/sapi/phpdbg/phpdbg_info.c @@ -72,7 +72,7 @@ PHPDBG_INFO(files) /* {{{ */ phpdbg_try_access { ZEND_HASH_FOREACH_STR_KEY(&EG(included_files), fname) { - phpdbg_writeln("includedfile", "name=\"%s\"", "File: %s", fname); + phpdbg_writeln("includedfile", "name=\"%s\"", "File: %s", ZSTR_VAL(fname)); } ZEND_HASH_FOREACH_END(); } phpdbg_catch_access { phpdbg_error("signalsegv", "", "Could not fetch file name, invalid data source, aborting included file listing"); @@ -274,7 +274,7 @@ retry_switch: #undef VARIABLEINFO } phpdbg_catch_access { - phpdbg_writeln("variable", "address=\"%p\" name=\"%s\"", "%p\tn/a\tn/a\t$%s", data, var); + phpdbg_writeln("variable", "address=\"%p\" name=\"%s\"", "%p\tn/a\tn/a\t$%s", data, ZSTR_VAL(var)); } phpdbg_end_try_access(); } ZEND_HASH_FOREACH_END(); } |