<?php class Foo { static public $bar = ['baz' => 3]; static public function baz() { return 2; } } $bar = ['baz' => 'baz']; var_dump(Foo::$bar['baz']());
You have javascript disabled. You will not be able to edit any code.