3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $o = new StdClass; $o2 =& $o; $o->id = 1; $o2->id = 2; echo $o === $o2 ? 'true' : 'false';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q7pIX
function name:  (null)
number of ops:  15
compiled vars:  !0 = $o, !1 = $o2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'StdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        ASSIGN_REF                                               !1, !0
    5     4        ASSIGN_OBJ                                               !0, 'id'
          5        OP_DATA                                                  1
    6     6        ASSIGN_OBJ                                               !1, 'id'
          7        OP_DATA                                                  2
    7     8        IS_IDENTICAL                                             !0, !1
          9      > JMPZ                                                     ~8, ->12
         10    >   QM_ASSIGN                                        ~9      'true'
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~9      'false'
         13    >   ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.75 ms | 933 KiB | 14 Q