| Summary: | [Content Assist] Private fields and methods should not be available in CA in the extending class | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Roy Ganor <ganoro> |
| Component: | PDT | Assignee: | Zhongwei Zhao <zhaozhongwei> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
fixed in head and branch [Petyo Tanchev] Tested on 2.2.1.v20100829 Fixed |
<?php class A { public $a="a"; protected $b="b"; private $c="c"; // Should not be accessible in class B public function fun1(){} protected function fun2(){} private function fun3(){} // Should not be accessible in class B } class B extends A { function foo() { $this->| //CA here } } $b=new B(); $b->foo(); Expected: c and fun3() should not appear in CA Actual: Both of them appear