You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason to limit objects to \stdClass was safety and performance of (array)$obj casting, though now I think it is not enough to drop class objects support.
Because of this constraint it is not possible to validate an object that has a concrete class, even if the class looks something like:
Shouldn't this constraint be
$ok = is_object($data);
?The text was updated successfully, but these errors were encountered: