<?php class Foo { static $one; } $one = 'one'; Foo::$one = function (){ return 'ten'; }; var_export(Foo::$one); echo "\n"; var_export(Foo::$one()); echo "\n";
You have javascript disabled. You will not be able to edit any code.