3v4l.org

run code in 300+ PHP versions simultaneously
<?php class boo { } $x = new boo; $y = new boo; $z = $y; var_export( $x == $y ); var_export( $x == $z ); var_export( $y == $z ); var_export( $x === $y ); var_export( $x === $z ); var_export( $y === $z );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s84Zi
function name:  (null)
number of ops:  32
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $3      'boo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    8     3        NEW                                              $6      'boo'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $6
    9     6        ASSIGN                                                   !2, !1
   11     7        INIT_FCALL                                               'var_export'
          8        IS_EQUAL                                         ~10     !0, !1
          9        SEND_VAL                                                 ~10
         10        DO_ICALL                                                 
   12    11        INIT_FCALL                                               'var_export'
         12        IS_EQUAL                                         ~12     !0, !2
         13        SEND_VAL                                                 ~12
         14        DO_ICALL                                                 
   13    15        INIT_FCALL                                               'var_export'
         16        IS_EQUAL                                         ~14     !1, !2
         17        SEND_VAL                                                 ~14
         18        DO_ICALL                                                 
   14    19        INIT_FCALL                                               'var_export'
         20        IS_IDENTICAL                                     ~16     !0, !1
         21        SEND_VAL                                                 ~16
         22        DO_ICALL                                                 
   15    23        INIT_FCALL                                               'var_export'
         24        IS_IDENTICAL                                     ~18     !0, !2
         25        SEND_VAL                                                 ~18
         26        DO_ICALL                                                 
   16    27        INIT_FCALL                                               'var_export'
         28        IS_IDENTICAL                                     ~20     !1, !2
         29        SEND_VAL                                                 ~20
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Class boo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.52 ms | 1395 KiB | 15 Q