3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.27 ms | 1399 KiB | 17 Q