3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $A=5; $B=10; echo ("Sum=".$A)+$B."\n"; echo "Sum=".($A+$B)."\n"; echo "Sum=",$A+$B."\n";
based on EDuFI
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/6abfL on line 5 10 Sum=15 Sum=15
Output for 5.3.21 - 7.0.20
10 Sum=15 Sum=15