3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { const A = 'B'; protected $_a = array( static::A => 'okay!', ); }
Output for 5.3.0 - 5.4.30
Fatal error: "static::" is not allowed in compile-time constants in /in/cjZOm on line 7
Process exited with code 255.