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
[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to