Skip to content

SimpleXMLIterator::current can no longer return null #1640

@AndrolGenhald

Description

@AndrolGenhald

I haven't fully verified this in php-src, but based on this test it appears that the null return was changed to an error.

The Description and Return Values sections here mention null, and it also seems like the return value should be changed from mixed to SimpleXMLIterator, unless the description is wrong there as well.

If the return type is changed, it should also be changed here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions