3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new StdClass(); $p = &$a; $b[] = $a; echo ($b[0] == $a)? 'YES':'no';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hOXq6
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $p, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   NEW                                              $3      'StdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    9     3        ASSIGN_REF                                               !1, !0
   12     4        ASSIGN_DIM                                               !2
          5        OP_DATA                                                  !0
   14     6        FETCH_DIM_R                                      ~8      !2, 0
          7        IS_EQUAL                                                 !0, ~8
          8      > JMPZ                                                     ~9, ->11
          9    >   QM_ASSIGN                                        ~10     'YES'
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~10     'no'
         12    >   ECHO                                                     ~10
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.16 ms | 1393 KiB | 13 Q