3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const API_KEY = 'de527b836bf340274089f76a6aef03610d88585464d07e625bdec9735b8125bf'; echo API_KEY + 'test'; echo PHP_EOL; echo API_KEY . 'test'; echo PHP_EOL; echo 'X' + 'Y' === 0; echo PHP_EOL;
based on C8WFh
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/5nNob on line 5 Warning: A non-numeric value encountered in /in/5nNob on line 5 0 de527b836bf340274089f76a6aef03610d88585464d07e625bdec9735b8125bftest Warning: A non-numeric value encountered in /in/5nNob on line 9 Warning: A non-numeric value encountered in /in/5nNob on line 9 1
Output for 5.3.19 - 7.0.20
0 de527b836bf340274089f76a6aef03610d88585464d07e625bdec9735b8125bftest 1