PHP 8.4.2 Released!

DOMNameSpaceNode::__sleep

(PHP 8 >= 8.1.25)

DOMNameSpaceNode::__sleepForbids serialization unless serialization methods are implemented in a subclass

Description

public DOMNameSpaceNode::__sleep(): array

Forbids serialization unless serialization methods are implemented in a subclass.

Parameters

This function has no parameters.

Return Values

The method always throws an exception.

Errors/Exceptions

Throws an Error exception when called.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top