Community
Participate
Working Groups
Code: class person { private $name; function __construct($name) { $this->setName($name); } /** * @return the $name */ public function getName() { return $this->name; } /** * @param field_type $name */ public function setName($name) { $this->name = $name; } } $x = new person("gadi"); echo $x->| should not show constructor
fixed in head and branch
there is one case I have not fixed: we can call superclass' constructor in any of subclass' method
Tested on 2.2.1.v20100829 Fixed