|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-19 13:58 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Assigned To:
+Assigned To: cmb
[2015-08-19 13:58 UTC] cmb@php.net
[2015-08-19 14:35 UTC] cmb@php.net
[2015-08-19 14:35 UTC] cmb@php.net
-Status: Verified
+Status: Closed
[2015-08-19 14:36 UTC] cmb@php.net
[2015-09-03 18:10 UTC] ab@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 09:00:01 2025 UTC |
Description: ------------ The constructor reflection for ArrayObject is wrong - the first parameter is optional, yet is reflected as non-optional. Test script: --------------- $f = new ReflectionClass('ArrayObject'); $c = $f->getConstructor(); $params = $c->getParameters(); $param = $params[0]; var_dump($param->isOptional()); Expected result: ---------------- bool(true) Actual result: -------------- bool(false)