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); }
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/1aFss
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                                               'sqrt'
          5        MOD                                              ~2      !0, 10
          6        SEND_VAL                                                 ~2
          7        DO_ICALL                                         $3      
          8        ADD                                              ~4      $3, 1
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        MUL                                              ~6      !0, $5
         12        MUL                                              ~7      ~6, 10
         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:
147.44 ms | 1399 KiB | 19 Q