3v4l.org

run code in 300+ PHP versions simultaneously
<?php mt_srand(13371337); $a = array(); for ($i = 0; $i < 100; $i++) $a[] = mt_rand(); var_dump($a);
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 = 13, Position 2 = 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/EpaCV
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mt_srand'
          1        SEND_VAL                                                 13371337
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, <array>
    7     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->11
    8     6    >   INIT_FCALL                                               'mt_rand'
          7        DO_ICALL                                         $6      
          8        ASSIGN_DIM                                               !0
          9        OP_DATA                                                  $6
    7    10        PRE_INC                                                  !1
         11    >   IS_SMALLER                                               !1, 100
         12      > JMPNZ                                                    ~8, ->6
   10    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.61 ms | 1395 KiB | 19 Q