3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_[]++;$_[]=$_._;$_=$_[$_[+_]];$___=$__=$_[++$__[]];$____=$_=$_[+_]; $_++;$_++;$_++;$_=$____.++$___.$___.++$_.$__.++$___;$_('print "haha";');
Output for 7.1.0
Notice: Undefined variable: _ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Array to string conversion in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Warning: A non-numeric value encountered in /in/hl1Sb on line 2 Notice: Undefined variable: __ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Warning: A non-numeric value encountered in /in/hl1Sb on line 2 Warning: Cannot call assert() with string argument dynamically in /in/hl1Sb on line 3
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.0.14
Notice: Undefined variable: _ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Array to string conversion in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Undefined variable: __ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 haha
Output for hhvm-3.12.0
Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Array to string conversion in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 haha
Output for hhvm-3.10.0
Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Array to string conversion in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2
Output for 5.0.4 - 5.3.29
Notice: Undefined variable: _ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Undefined variable: __ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 haha
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: _ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 Notice: Undefined variable: __ in /in/hl1Sb on line 2 Notice: Use of undefined constant _ - assumed '_' in /in/hl1Sb on line 2 haha