[PHP4BETA] $this->varname[] is nots supported
| From: | Thies C. Arntzen | Date: | Fri, 30 Apr 1999 20:11:57 +0000 |
| Subject: | [PHP4BETA] $this->varname[] is nots supported | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-602@lists.php.net to get a copy of this message | ||
<?
class test
{ var $tub=array();
function foo()
{ $this->tub[] = "hallo"; // php4 does not like this....
}
}
?>
causes a:
<b>Parse error</b>: parse error in <b>this.php3</b> on line
<b>7</b><br>
tc
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany
--
PHP 4 Beta