|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-23 18:54 UTC] pollita@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pollita
[2013-02-23 18:54 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 05:00:01 2025 UTC |
Description: ------------ Trying to adopt classes fails when there are capitals in the code. Reproduce code: --------------- Works: class A { function ab() { print "a";} } class B { function ab() { print "b";} } runkit_class_adopt("B", "A"); Fails: class A { function aB() { print "a";} } class B { function aB() { print "b";} } runkit_class_adopt("B", "A"); WIth: Error inheriting parent method: aB(); Commenting line 86 in runkit_class.c seems to fix this.