3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj1 = new stdClass; $obj2 = new stdClass; print $obj1 != $obj2 ? 'not equal' : 'equal';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SKrg5
function name:  (null)
number of ops:  13
compiled vars:  !0 = $obj1, !1 = $obj2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    4     6        IS_NOT_EQUAL                                             !0, !1
          7      > JMPZ                                                     ~8, ->10
    5     8    >   QM_ASSIGN                                        ~9      'not+equal'
          9      > JMP                                                      ->11
    6    10    >   QM_ASSIGN                                        ~9      'equal'
         11    >   ECHO                                                     ~9
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.76 ms | 1393 KiB | 13 Q