3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('DEFAULT_ROLES', array('guy', 'development team')); class t { const DEFAULT_ROLES = array('guy', 'development team'); }
Output for 7.0.0 - 7.3.1
Output for 5.6.0 - 5.6.24
Warning: Constants may only evaluate to scalar values in /in/enh32 on line 3