| Summary: | PHP 5.3 anonymous function inside method break code assis | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael <gern_> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | gadi, gern_ |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
fixed already,duplicate of bug 319001 *** This bug has been marked as a duplicate of bug 319001 *** [Petyo Tanchev] Duplicate of bug 319001 Closing |
Build Identifier: 20100617-1415 Using PHP 5.3 lambda function inside class's method break code assist for the class. (See step to reproduce) Reproducible: Always Steps to Reproduce: 1. Create a new file 'lambda.php' <?php class Klass { public function A () { // This is a method } static public function B () { // This is a static method $subB = function () { // This is a lambda function that break }; } public function C () { // This is a method that dont belong in Klass } static public function D () { // This is a static method that dont belong in Klass } } 2. In the Outline / Project Outline you should see public Klass - public A() - static public B() // lambda function inside public C() static public D() 3. Expected result public Klass - public A() - static public B() // lambda function inside - public C() - static public D()