3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($x=0;$x<23;$x++) { var_dump($x / 2); #$bla= round($x /2); echo $bla."\n"; }
based on foLAu
Output for 5.0.4 - 7.1.0
int(0) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(0.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(1) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(1.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(2) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(2.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(3) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(3.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(4) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(4.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(5) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(5.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(6) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(6.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(7) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(7.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(8) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(8.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(9) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(9.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(10) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(10.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(11) Notice: Undefined variable: bla in /in/dZkRb on line 9
Output for 4.3.0 - 5.0.3
int(0) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(0.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(1) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(1.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(2) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(2.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(3) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(3.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(4) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(4.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(5) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(5.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(6) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(6.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(7) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(7.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(8) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(8.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(9) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(9.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(10) Notice: Undefined variable: bla in /in/dZkRb on line 9 float(10.5) Notice: Undefined variable: bla in /in/dZkRb on line 9 int(11) Notice: Undefined variable: bla in /in/dZkRb on line 9