3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.73 ms | 1393 KiB | 13 Q