3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name="Wanda"; print “W”+”anda”; print $name === "W"+"anda"; print $name == "W"+"anda";
Output for 7.1.0
Notice: Use of undefined constant “W” - assumed '“W”' in /in/a1r6Q on line 3 Notice: Use of undefined constant ”anda” - assumed '”anda”' in /in/a1r6Q on line 3 Warning: A non-numeric value encountered in /in/a1r6Q on line 3 Warning: A non-numeric value encountered in /in/a1r6Q on line 3 0 Warning: A non-numeric value encountered in /in/a1r6Q on line 4 Warning: A non-numeric value encountered in /in/a1r6Q on line 4 Warning: A non-numeric value encountered in /in/a1r6Q on line 5 Warning: A non-numeric value encountered in /in/a1r6Q on line 5 1
Output for 4.3.0 - 7.0.14
Notice: Use of undefined constant “W” - assumed '“W”' in /in/a1r6Q on line 3 Notice: Use of undefined constant ”anda” - assumed '”anda”' in /in/a1r6Q on line 3 01