3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const API_KEY = 'de'; echo API_KEY + 'test'; echo PHP_EOL; echo API_KEY . 'test'; echo PHP_EOL;
based on p7c2i
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/SItIc on line 5 Warning: A non-numeric value encountered in /in/SItIc on line 5 0 detest
Output for 5.3.19 - 7.0.20
0 detest