| Summary: | Global variable Mark Occurrence marks static field wrongly | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Zhongwei Zhao <zhaozhongwei> |
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed in head Verified at PDT-2.2.0.v20100517 Only variables outside classes is market at shown behavior If moved cursor over static variables only variables invocation and variables definition is marked Closing this issue... Verified by Teodor Kirkov teodor.k@zend.com |
here is the test file <?php namespace My\aa\bb; class Foo { public static $bar=""; public function Foo($bar){ } } $bar = ""; namespace My\aa\cc; class Foo { public static $bar=""; public function Foo($bar){ } } $bar = ""; use My\aa\bb; Foo::$bar;//$bar is marked wrongly $bar| = "";//| is the cursor position the $bar in line Foo::$bar; is marked wrongly