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

Harrie Verveer's Blog: Benchmarking Xdebug

Sephiroth.it: Debugging PHP with XDebug

SitePoint PHP Blog: Faster PHP Apps - Profile Your Code with Xdebug

Joshua Thijssen's Blog: Setting up a development environment

Derick Rethans' Blog: The first Release Candidate of Xdebug 2


Community Events





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


list install opinion introduction laravel refactor podcast interview symfony2 framework language series threedevsandamaybe release testing community code experience developer unittest

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