Skip to content

DOM functions show no dumped data #1

Open
@tfedor

Description

@tfedor

Trying to use sage when debugging DOM manipulation with https://www.php.net/manual/en/book.dom.php functions, dump shows no real info.

DOMNodeList

print_r output:

DOMNodeList Object
(
    [length] => 1
)

sage output (omitted header with variable name and trace string):

DOMNodeList (0)

DOMElement

print_r output:

DOMElement Object
(
    [tagName] => span
    [schemaTypeInfo] =>
    [nodeName] => span
    [nodeValue] => This item is currently unavailable in your region
    [nodeType] => 1
    [parentNode] => (object value omitted)
    [childNodes] => (object value omitted)
    [firstChild] => (object value omitted)
    [lastChild] => (object value omitted)
    [previousSibling] => (object value omitted)
    [nextSibling] => (object value omitted)
    [attributes] => (object value omitted)
    [ownerDocument] => (object value omitted)
    [namespaceURI] =>
    [prefix] =>
    [localName] => span
    [baseURI] =>
    [textContent] => This item is currently unavailable in your region
)

sage output (omitted header with variable name and trace string):

DOMElement (0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions