| Summary: | PHP Explorer list of functions within PHP file broken by function containing an anonymous function | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Michali Sarris <michali.sarris> |
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Ilina Stefanova <ilina.s> |
| Severity: | minor | ||
| Priority: | P1 | CC: | ganoro |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed change status Verified. |
Build Identifier: 20100617-1415 When a PHP file contains a function that contains an anonymous function (PHP 5.3 feature), like in the following example: function a() {} function b() { $test = function() {}; } function c() {} function d() {} Then the list of functions within the file (by expanding the file in the PHP Explorer tree) should show functions a, b, c and d. However is seems that the anonymous function breaks the feature. Only functions a and b will be listed. Reproducible: Always Steps to Reproduce: 1. Open any PHP file which contains functions. 2. Add a function in the top (or anywhere above other functions) containing an anonymous function. 3. Save the file. 4. The list of functions within the file only shows functions up to the newly added function.