summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-10 10:25:50 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-10 11:30:32 +0200
commit94df2f697fa1434bfca0d729a14abd53f3e2586e (patch)
tree87bb3a90e4c26bbfbf0eb4b32749abe477596984 /scripts
parent034741f6c7c1bb480c3ca6b6caed5274466dbe54 (diff)
downloadphp-git-94df2f697fa1434bfca0d729a14abd53f3e2586e.tar.gz
Fix bug #65006
The "callable name" may be the same for multiple distinct callables. The code already worked around this for the case of instance methods, but there are other cases in which callable names clash, such as the use of self:: reported in the referenced bug. Rather than trying to generate a unique name for callables, compare the content of the alfi structures. This is less efficient if there are many autoload functions, but autoload *registration* does not need to be particularly efficient. As a side-effect, this no longer permits unregistering non-callables.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions