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

Stefan Koopmanschap's Blog: PHPNW12: You should be there, and someone can be there

Juan Treminio's Blog: Xdebug and You: Why You Should be Using a Real Debugger

Sebastian Bergmann's Blog: Towards Better Code Coverage Metrics in the PHP World

Matthew Weir O'Phinney's Blog: Getting XDebug working with PHPUnit for code coverage reports

Chuck Burgess' Blog: Remote CLI Debugging via Eclipse PDT


Community Events

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


framework voicesoftheelephpant community language podcast video version laravel library laravel5 api example introduction php7 security interview series release opinion extension

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