3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = new stdClass(); $b = new stdClass(); $b->extraparam = 1; var_dump($a==$b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WEgMA
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
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        NEW                                                  $5      'stdClass'
          4        DO_FCALL                                          0          
          5        ASSIGN                                                       !1, $5
    5     6        ASSIGN_OBJ                                                   !1, 'extraparam'
          7        OP_DATA                                                      1
    7     8        INIT_FCALL                                                   'var_dump'
          9        IS_EQUAL                                             ~9      !0, !1
         10        SEND_VAL                                                     ~9
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.05 ms | 2259 KiB | 14 Q