Edit report at http://bugs.php.net/bug.php?id=53895&edit=1

 ID:                 53895
 Updated by:         [email protected]
 Reported by:        + at ni-po dot com
 Summary:            debug_zval_dump should be by ref
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
 Package:            Variables related
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

I disagree. Receiving the variable by reference would solve nothing, as
it would force a separation on zvals with refcount > 1.



What actually ought to be done is make debug_zval_dump work like
xdebug's version and accepting a string.


Previous Comments:
------------------------------------------------------------------------
[2011-01-31 23:43:14] + at ni-po dot com

Description:
------------
debug_zval_dump should accept the variable by reference.



Currently one can call the function either via debug_zval_dump($var) or
debug_zval_dump(&$var). As the latter is as deprecated as it gets (i.e.
parse-time deprecated) and is even removed in trunk, the function should
be defined as accepting the variable by reference, because this is the
usual use case.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53895&edit=1

Reply via email to