3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $values = array(1,2, 3); define('demo', $values);
Output for 7.0.0 - 7.3.0rc4
Output for 4.3.0 - 5.6.28
Warning: Constants may only evaluate to scalar values in /in/uTt7Y on line 5