i assume you know that the proper syntax for class field deref is
sure, but I´m using variable vars (exactly variable properties (of objects)) so I legally use $this->$var and I´m just interested why I´m forced to use array_push() maybe it has been forgotten for [] or it´s a bug or...
<?php
class a {
function a($nr) {
$var='test';
$this->$val[]=$nr; }}
new a();
?>
regards
--
o----------0-¬---------O-·---¬----o---®-----o o O ° .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ °
·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ °
o © ° . ·
| psychedelic experience | gott@kiffen.de | O ° o °
o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·