3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10; $i++) { var_dump(log10(sqrt(10 - $i % 10) + 1) * 50); }
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/Tg2rh
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        SUB                                              ~3      10, ~2
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                         $4      
          9        ADD                                              ~5      $4, 1
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                         $6      
         12        MUL                                              ~7      $6, 50
         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:
193.66 ms | 942 KiB | 20 Q