3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num1 = '2oranges'; $num2 = '3oranges'; $sum = $num1 + $num2; echo "I ate $sum today!";
based on Q74Xd
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/HInkF on line 4 Notice: A non well formed numeric value encountered in /in/HInkF on line 4 I ate 5 today!
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.14
I ate 5 today!