Closed
Description
Appendix A / Keywords says:
5. 'object', the element to which this type applies is the instance of an
undetermined class.
This could be considered an alias for providing the class stdClass, as this
is the base class of all classes, but the intention of the type differs.
Providing stdClass will imply the intention that the related element contains
an actual object of class stdClass or direct descendant, whereas object
implies that it is completely unknown of which class the contained
object will be.
This is not correct. stdClass
is not a common base class of all classes. There is no common case class in PHP.
Metadata
Metadata
Assignees
Labels
No labels