3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 1;$i < 10;$i++) { if ($i > 10) { break; } print $i; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 8
Branch analysis from position: 8
Jump found. Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Jump found. Position 1 = -2
Branch analysis from position: 2
Jump found. Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
Jump found. Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 5
Jump found. Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Branch analysis from position: 2
filename:       /in/YgrS8
function name:  (null)
number of ops:  11
compiled vars:  !0 = $i
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 1
         1      > JMP                                                      ->8
   4     2    >   IS_SMALLER                                       ~2      10, !0
         3      > JMPZ                                                     ~2, ->5
   5     4    > > JMP                                                      ->10
   7     5    >   ECHO                                                     !0
   3     6        POST_INC                                         ~3      !0
         7        FREE                                                     ~3
         8    >   IS_SMALLER                                       ~4      !0, 10
         9      > JMPNZ                                                    ~4, ->2
        10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0