|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-24 18:16 UTC] bjori@php.net
[2006-09-26 07:57 UTC] dmitry@php.net
[2006-09-28 11:47 UTC] bjori@php.net
[2006-10-03 09:59 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 04:00:01 2025 UTC |
Description: ------------ The engine seems to register old-style-ctors twice, once during parent-ctor-inheriting and once during normal-method-inheriting Reproduce code: --------------- <?php class foo { public function foo() {} } class bar extends foo { } ReflectionClass::export("bar"); Expected result: ---------------- - Methods [1] { Method [ <user, inherits foo, ctor> public method foo ] { @@ /usr/src/php/5.2/bug.php 3 - 3 } Actual result: -------------- - Methods [2] { Method [ <user, inherits foo, ctor> public method foo ] { @@ /usr/src/php/5.2/bug.php 3 - 3 } Method [ <user, inherits foo, ctor> public method foo ] { @@ /usr/src/php/5.2/bug.php 3 - 3 }