3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 'test' . 'test'; var_dump($var); $var = 'test' + 'test'; var_dump($var);
Output for 7.1.0 - 7.2.0
string(8) "testtest" Warning: A non-numeric value encountered in /in/DFLLj on line 6 Warning: A non-numeric value encountered in /in/DFLLj on line 6 int(0)
Output for 5.3.22 - 7.0.20
string(8) "testtest" int(0)