The locals window shows all variables in the local scope perfectly. That is, until the SimplexmlElement object is set.

As soon as this:

$weather = new SimplexmlElement($xml_str);

is executed, the locals window is blank, and hovering over variables does not show a tooltip any more. Right-clicking and "Quick Watch" works, however.

juanc says:

this looks like a bug on xdebug.