|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #67975 Support for method naming resolution
Submitted: 2014-09-08 09:01 UTC Modified: 2020-02-28 14:59 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mkurczew at gmail dot com Assigned:
Status: Open Package: Scripting Engine problem
PHP Version: 5.6.0 OS: *
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-09-08 09:01 UTC] mkurczew at gmail dot com
PHP 5.5.0 introduced ::class, which allows people to write nice unit tests that don't rely on magic strings. However, there is no way to reference a method or function in similar fashion, so in reality most of unit tests still need to rely on magic strings. Having such feature would prevent issues like from appearing, and could tell me if I'm doing something wrong the second PHP finishes parsing my script's syntax.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-02-28 14:59 UTC]
-Package: Reflection related +Package: Scripting Engine problem
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jun 18 19:01:23 2021 UTC