3v4l.org

run code in 300+ PHP versions simultaneously
<?php For($i=0; $i<10;$i++){ Echo substr(uniqid('', true),0,4) ."\n"; Sleep(0.5); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
Branch analysis from position: 2
filename:       /in/dUSET
function name:  (null)
number of ops:  20
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->17
    3     2    >   INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'uniqid'
          4        SEND_VAL                                                 ''
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 4
         10        DO_ICALL                                         $3      
         11        CONCAT                                           ~4      $3, '%0A'
         12        ECHO                                                     ~4
    4    13        INIT_FCALL                                               'sleep'
         14        SEND_VAL                                                 0.5
         15        DO_ICALL                                                 
    2    16        PRE_INC                                                  !0
         17    >   IS_SMALLER                                               !0, 10
         18      > JMPNZ                                                    ~7, ->2
    5    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.76 ms | 1012 KiB | 16 Q