3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('PRIVACY_POLICY', array( 'path' => 'yolo.php', 'id' => 1, )); var_dump(PRIVACY_POLICY);
Output for 7.0.0 - 7.2.0
array(2) { ["path"]=> string(8) "yolo.php" ["id"]=> int(1) }
Output for 5.3.18 - 5.6.28
Warning: Constants may only evaluate to scalar values in /in/sTrEK on line 5 Notice: Use of undefined constant PRIVACY_POLICY - assumed 'PRIVACY_POLICY' in /in/sTrEK on line 7 string(14) "PRIVACY_POLICY"