3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test {} $a = new stdclass(); $b = new Test(); var_dump($a == $b, $a === $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kssTn
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $2      'stdclass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    6     3        NEW                                              $5      'Test'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    8     6        INIT_FCALL                                               'var_dump'
          7        IS_EQUAL                                         ~8      !0, !1
          8        SEND_VAL                                                 ~8
          9        IS_IDENTICAL                                     ~9      !0, !1
         10        SEND_VAL                                                 ~9
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.32 ms | 1394 KiB | 15 Q