3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump("3 Oranges" == "3 Apples");// false var_dump("3 Oranges" + NULL == "3 Apples" + NULL); // true
Output for 7.1.0 - 7.2.0
bool(false) Notice: A non well formed numeric value encountered in /in/n8RjJ on line 4 Notice: A non well formed numeric value encountered in /in/n8RjJ on line 4 bool(true)
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.0.20
bool(false) bool(true)