3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = U+0041; var_dump($a);
based on WhATD
Output for 7.2.0
Warning: Use of undefined constant U - assumed 'U' (this will throw an Error in a future version of PHP) in /in/Uf9T0 on line 2 Warning: A non-numeric value encountered in /in/Uf9T0 on line 2 int(33)
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant U - assumed 'U' in /in/Uf9T0 on line 2 Warning: A non-numeric value encountered in /in/Uf9T0 on line 2 int(33)
Output for 5.3.19 - 7.0.20
Notice: Use of undefined constant U - assumed 'U' in /in/Uf9T0 on line 2 int(33)