3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass(); $b = new stdClass(); echo (bool) $a == $b; echo (bool) $a === $b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ibHra
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     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
    6     6        BOOL                                             ~8      !0
          7        IS_EQUAL                                         ~9      !1, ~8
          8        ECHO                                                     ~9
    8     9        BOOL                                             ~10     !0
         10        IS_IDENTICAL                                     ~11     !1, ~10
         11        ECHO                                                     ~11
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.61 ms | 1393 KiB | 13 Q