3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.38 ms | 1395 KiB | 17 Q