3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { } $x = array( new A(), new A(), ); $y = array(); foreach ($x as $val) { if (isset($y[$val])) { continue; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/5krsP
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x, !1 = $y, !2 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $3      'A'
          1        DO_FCALL                                      0          
          2        INIT_ARRAY                                       ~5      $3
    9     3        NEW                                              $6      'A'
          4        DO_FCALL                                      0          
          5        ADD_ARRAY_ELEMENT                                ~5      $6
    7     6        ASSIGN                                                   !0, ~5
   12     7        ASSIGN                                                   !1, <array>
   14     8      > FE_RESET_R                                       $10     !0, ->14
          9    > > FE_FETCH_R                                               $10, !2, ->14
   15    10    >   ISSET_ISEMPTY_DIM_OBJ                         0          !1, !2
         11      > JMPZ                                                     ~11, ->13
   16    12    > > JMP                                                      ->9
   14    13    > > JMP                                                      ->9
         14    >   FE_FREE                                                  $10
   18    15      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.39 ms | 1393 KiB | 13 Q