3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.77 ms | 1395 KiB | 17 Q