<?php class a { static function one() { return static::x; } const x = 1; } $f = ['a', 'one']; var_dump($f());
You have javascript disabled. You will not be able to edit any code.