<?php class foo { public $foo = []; public function foo() { $foo[] = ''; print_r($this->foo); } } $f = new Foo(); $f->foo();
You have javascript disabled. You will not be able to edit any code.