3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10; $i++) { var_dump(log10(sqrt($i % 10) + 1) * 100); }

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
filename:       /in/refNG
function name:  (null)
number of ops:  18
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->15
    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      $5, 100
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
    3    14        PRE_INC                                                  !0
         15    >   IS_SMALLER                                               !0, 10
         16      > JMPNZ                                                    ~9, ->2
    5    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.01 ms | 1395 KiB | 19 Q