3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.12 ms | 1386 KiB | 19 Q