mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
tidy vars
This commit is contained in:
parent
7b65a29471
commit
2bd7ed4288
1 changed files with 5 additions and 3 deletions
|
@ -91,12 +91,14 @@ PHPDBG_INFO(vars) /* {{{ */
|
||||||
zend_hash_get_current_key_ex(&vars, &var, NULL, NULL, 0, &pos);
|
zend_hash_get_current_key_ex(&vars, &var, NULL, NULL, 0, &pos);
|
||||||
|
|
||||||
if (*data) {
|
if (*data) {
|
||||||
phpdbg_write(
|
phpdbg_writeln(
|
||||||
"%d\t%s$%s\t\t",
|
"%d\t%s$%s",
|
||||||
Z_REFCOUNT_PP(data),
|
Z_REFCOUNT_PP(data),
|
||||||
Z_ISREF_PP(data) ? "&" : "", var);
|
Z_ISREF_PP(data) ? "&" : "", var);
|
||||||
|
phpdbg_write(
|
||||||
|
"|-----> ");
|
||||||
zend_print_flat_zval_r(*data TSRMLS_CC);
|
zend_print_flat_zval_r(*data TSRMLS_CC);
|
||||||
|
phpdbg_writeln(EMPTY);
|
||||||
} else {
|
} else {
|
||||||
phpdbg_write("0\t$%s", var);
|
phpdbg_write("0\t$%s", var);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue