3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = array(); for ($i=0; $i<10000; $i++) { $x = new stdClass(); $x->fish = 'fish'; $x->pie = $x->fish . 'pie'; $y[] = $x; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 3
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 3
Branch analysis from position: 17
Branch analysis from position: 3
filename:       /in/ad26V
function name:  (null)
number of ops:  18
compiled vars:  !0 = $y, !1 = $i, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->15
    4     3    >   NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !2, $5
    5     6        ASSIGN_OBJ                                               !2, 'fish'
          7        OP_DATA                                                  'fish'
    6     8        FETCH_OBJ_R                                      ~10     !2, 'fish'
          9        CONCAT                                           ~11     ~10, 'pie'
         10        ASSIGN_OBJ                                               !2, 'pie'
         11        OP_DATA                                                  ~11
    7    12        ASSIGN_DIM                                               !0
         13        OP_DATA                                                  !2
    3    14        PRE_INC                                                  !1
         15    >   IS_SMALLER                                               !1, 10000
         16      > JMPNZ                                                    ~14, ->3
    8    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.31 ms | 1385 KiB | 13 Q