3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test1 = "2 appels"; $test2 = "3 peren"; $test3 = "5 stuks fruit"; var_dump($test1 +1); var_dump($test1 + $test2); var_dump($test1 + $test2 == $test3);
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/Uk6R8 on line 6 int(3) Notice: A non well formed numeric value encountered in /in/Uk6R8 on line 7 Notice: A non well formed numeric value encountered in /in/Uk6R8 on line 7 int(5) Notice: A non well formed numeric value encountered in /in/Uk6R8 on line 8 Notice: A non well formed numeric value encountered in /in/Uk6R8 on line 8 bool(true)
Output for 4.3.0 - 7.0.14
int(3) int(5) bool(true)