3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($x=1;$x<24;$x++) { var_dump($x / 2); var_dump(round($x /2)); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
filename:       /in/eESA9
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->14
    4     2    >   INIT_FCALL                                               'var_dump'
          3        DIV                                              ~2      !0, 2
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'round'
          8        DIV                                              ~4      !0, 2
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                                 
    2    13        PRE_INC                                                  !0
         14    >   IS_SMALLER                                               !0, 24
         15      > JMPNZ                                                    ~8, ->2
    6    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.2 ms | 1395 KiB | 17 Q