3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.42 ms | 1435 KiB | 14 Q