3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('memory_limit', 1024); $array = []; for ($i = 0; $i < 1000000; $i++) { $arrays[] = [1, 2, 3, 4, 5, 6, 7, 8]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/HFjFO
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array, !1 = $i, !2 = $arrays
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'memory_limit'
          2        SEND_VAL                                                 1024
          3        DO_ICALL                                                 
    5     4        ASSIGN                                                   !0, <array>
    6     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->10
    8     7    >   ASSIGN_DIM                                               !2
          8        OP_DATA                                                  <array>
    6     9        PRE_INC                                                  !1
         10    >   IS_SMALLER                                               !1, 1000000
         11      > JMPNZ                                                    ~8, ->7
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.37 ms | 1394 KiB | 15 Q