Stuff
public php v1 · immuable<?phpclass MyTest { var $a = 1; function foo(){ return $this; } function bar(){ $this->a++; } };$test = new MyTest;echo $test->a;echo $test->foo()->bar();echo $test->a;?><?phpclass MyTest { var $a = 1; function foo(){ return $this; } function bar(){ $this->a++; } };$test = new MyTest;echo $test->a;echo $test->foo()->bar();echo $test->a;?>