3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.1 ms | 1386 KiB | 19 Q