Re: (ATTENTION) Pre-Beta

From: Date: Sat, 28 Jun 2003 12:53:00 +0000
Subject: Re: (ATTENTION) Pre-Beta
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-2938@lists.php.net to get a copy of this message
Hi all! There are some troubles with PHP5-beta-1: With simple code like this: <? class Test { var $array_var = Array(); function test() { $this->array_var[0][0][0] = "test_method"; } function test_method($echo_var) { echo $echo_var; } } $test_obj = new test; $test_obj->array_var[0][0][0]("simple test"); //line 15 ?> I get "Fatal error: Method name must be a string in /www/index.php on line 15". But $test_obj->array_var[0][0][0] is definitely a string. Sorry if it's a known bug. --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net

« previous php.internals (#2938) next »