3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); define('a', 1); var_dump(a); var_dump(A);
Output for 4.3.0 - 7.1.0
int(1) Notice: Use of undefined constant A - assumed 'A' in /in/QSNBX on line 7 string(1) "A"