<? Class Foo { var $foo2; Function Bar() { echo $foo2."\n"; print "Bar"; }
Function Bar2() { $foo2="foo2"; Bar(); } } $f = new foo; $f->Bar2(); ?> give me this error: Fatal error: Call to undefined function: bar() in /home/httpd/html/PHP/test/3.php on line 14 I'm using php-cli from cvs (2 weeks ago). And there is a variable scope (for the class). -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php