3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { public static function bar($i = parent::DEF) { return $i; } } class Ex extends Foo{ const DEF = __CLASS__; } var_dump(Ex::bar());
based on s2BE3