| Summary: | No instance variables hint in ZS for PHP magic methods(__set/__get). | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Zhongwei Zhao <zhaozhongwei> |
| Component: | PDT | Assignee: | PHP Core <php.core-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.v20100616 And three possible CA suggestions are proposed Closing this issue Verified by Teodor Kirkov teodor.k@zend.com |
Consider the following code: <?php /** * @property ClA $m * @property ClA $propOne */ class ClA { private $propOne = 1; private static $propTwo = 2; public $propThree = 3; public function __get($pName){ return $this->$pName; } } $a = new ClA(); $a-> //at this point all 3 properties should appear in CA proposals basically the propOne is missing.