simplexml - Eclipse xdebug inspect SimpleXMLElement -
i'm using xdebug , eclipse. when load valid xml string simplexml_load_string this:
$responsexml = simplexml_load_string($response);
i can't seem inspect simplexmlelement variables. when drill down variable, nothing shows. in screenshot below, try drill down $responsexml nothing shows:
i can access variable know there:
$body = $responsexml->children('soap-env')->body;
below xdebug settings.
any ideas?
that's because simplexmlelement has internal serialization methods. print_r , var_dump produce same. best way debug convert string using:
$responsexml->asxml()
Comments
Post a Comment