2
Bug #30394 (Assignment operators yield wrong result with __get/__set)
7
public function __get( $what )
9
return $this->_p[ $what ];
12
public function __set( $what, $value )
14
$this->_p[ $what ] = $value;
17
private $_p = array();
27
print $c->a; // --> 4 (!)
2
Bug #30394 (Assignment operators yield wrong result with __get/__set)
7
public function __get( $what )
9
return $this->_p[ $what ];
12
public function __set( $what, $value )
14
$this->_p[ $what ] = $value;
17
private $_p = array();
27
print $c->a; // --> 4 (!)