mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +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);
|
||||
|
||||
if (*data) {
|
||||
phpdbg_write(
|
||||
"%d\t%s$%s\t\t",
|
||||
phpdbg_writeln(
|
||||
"%d\t%s$%s",
|
||||
Z_REFCOUNT_PP(data),
|
||||
Z_ISREF_PP(data) ? "&" : "", var);
|
||||
|
||||
phpdbg_write(
|
||||
"|-----> ");
|
||||
zend_print_flat_zval_r(*data TSRMLS_CC);
|
||||
phpdbg_writeln(EMPTY);
|
||||
} else {
|
||||
phpdbg_write("0\t$%s", var);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue