3v4l.org

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

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.89 ms | 1394 KiB | 15 Q