|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-06-16 07:54 UTC] dmitry@php.net
[2015-06-16 07:54 UTC] dmitry@php.net
-Status: Open
+Status: Closed
[2015-06-23 18:04 UTC] ab@php.net
[2016-07-20 11:38 UTC] davey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
Description: ------------ Seems like ArrayObject with ARRAY_AS_PROPS implementation broken. After second call of constructor I cant get access to the array property. Test script: --------------- for ($i = 0; $i<2; $i++) { $data = new \ArrayObject(new stdClass(), ArrayObject::ARRAY_AS_PROPS); $data->itemType = 'bulletin'; var_dump(!is_null($data['itemType'])); } exit; Expected result: ---------------- bool(true) bool(true) Actual result: -------------- bool(true) bool(false)