News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Derick Rethans:
Contributing Advent 1 Xdebug and hidden properties
December 02, 2013 @ 09:16:50

As a part of his "Advent Contribution" series Derick Rethans has posted about an update to XDebug that fixes a bug reported around hidden properties.

This first contribution is for bug #987: "Hidden property names not shown". In PHP it is possible to convert an array to an object. [...] Xdebug's standard HTML var_dump() as well as the CLI, the coloured CLI and the debugger interface DBGp all suffered from the same issues that numerical properties were not showing in output.

With the committed fix the output of the var_dump now shows these special property names with curly braces around them and makes them available via the property_get method. If you're interested in the actual commit, you can check it out here.

0 comments voice your opinion now!
advent contribute hidden properties xdebug vardump propertyget

Link: http://derickrethans.nl/advent01.html

blog comments powered by Disqus

Similar Posts

Mike Wallner's Blog: __get() and array rumors

Derick Rethans\' Blog: Speaking at PHP Quebec 2006 (and a Reminder)

Stefan Koopmanschap's Blog: PHP Hidden Gem: similar_text()

Tobias Schlitt's Blog: Reflecting private properties

Community News: BlueStatic Releasing MacGDBp (Native OS X Debugger) for PHP


Community Events





Don't see your event here?
Let us know!


introduction library api voicesoftheelephpant list symfony podcast framework install deployment language release tips package community opinion interview series bugfix laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework