3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name="Wanda"; echo $name == "W"+"anda","\n"; echo $name == "W"."anda","\n"; echo $name === "W"."anda","\n"; echo "And, this: ",$name === "W"+"anda","\n"; var_dump("W"+"anda");
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/BL55s on line 3 Warning: A non-numeric value encountered in /in/BL55s on line 3 1 1 1 And, this: Warning: A non-numeric value encountered in /in/BL55s on line 6 Warning: A non-numeric value encountered in /in/BL55s on line 6 Warning: A non-numeric value encountered in /in/BL55s on line 7 Warning: A non-numeric value encountered in /in/BL55s on line 7 int(0)
Output for 4.3.0 - 7.0.20
1 1 1 And, this: int(0)