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

DevShed: Debugging Program Flow with the Xdebug Extension

Robert Peake\'s Blog: Contributing To Pear Article Available Online

Chris Hartjes' Blog: Metatesting: Testing Constructors

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

Symfony Blog: Making Jobeet (Advent 2008)


Community Events

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


opinion series laravel unittest introduction voicesoftheelephpant community development video podcast psr7 language api interview conference extension framework library release laravel5

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