3v4l.org

run code in 200+ 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 - 7.1.10
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 - 7.0.20
I ate 5 today!