3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = array(); for($x=0;$x<10000;$x++){ $a = ["name"=>"Adam","age"=>35]; $a["name"] = $a["name"] . "2"; $s[] = $a; unset($a); };
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/BAEbo
function name:  (null)
number of ops:  15
compiled vars:  !0 = $s, !1 = $x, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    6     3    >   ASSIGN                                                   !2, <array>
    7     4        FETCH_DIM_R                                      ~7      !2, 'name'
          5        CONCAT                                           ~8      ~7, '2'
          6        ASSIGN_DIM                                               !2, 'name'
          7        OP_DATA                                                  ~8
    8     8        ASSIGN_DIM                                               !0
          9        OP_DATA                                                  !2
    9    10        UNSET_CV                                                 !2
    5    11        PRE_INC                                                  !1
         12    >   IS_SMALLER                                               !1, 10000
         13      > JMPNZ                                                    ~11, ->3
   10    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.19 ms | 1393 KiB | 13 Q