3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public $a; } $foos = array(); for ($i = 10000; $i--;) { $foo = new Foo; $foo->a = 1; $foos[] = $foo; }
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 = 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
filename:       /in/NOL3E
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foos, !1 = $i, !2 = $foo
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                       !0, <array>
   10     1        ASSIGN                                                       !1, 10000
          2      > JMP                                                          ->10
   11     3    >   NEW                                                  $5      'Foo'
          4        DO_FCALL                                          0          
          5        ASSIGN                                                       !2, $5
   12     6        ASSIGN_OBJ                                                   !2, 'a'
          7        OP_DATA                                                      1
   14     8        ASSIGN_DIM                                                   !0
          9        OP_DATA                                                      !2
   10    10    >   POST_DEC                                             ~10     !1
         11      > JMPNZ                                                        ~10, ->3
   15    12    > > RETURN                                                       1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.04 ms | 2704 KiB | 13 Q