3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = time();$x = ' ';while(time()-$t1<10){ $w = gzcompress($x.'a'); $x.= $w;}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 5
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 5
Branch analysis from position: 16
Branch analysis from position: 5
filename:       /in/AWe3V
function name:  (null)
number of ops:  17
compiled vars:  !0 = $t1, !1 = $x, !2 = $w
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
          3        ASSIGN                                                   !1, '+'
          4      > JMP                                                      ->11
          5    >   INIT_FCALL                                               'gzcompress'
          6        CONCAT                                           ~6      !1, 'a'
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !2, $7
         10        ASSIGN_OP                                     8          !1, !2
         11    >   INIT_FCALL                                               'time'
         12        DO_ICALL                                         $10     
         13        SUB                                              ~11     $10, !0
         14        IS_SMALLER                                               ~11, 10
         15      > JMPNZ                                                    ~12, ->5
         16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.14 ms | 1395 KiB | 17 Q