3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = array("date" => "2014-09-24"); $c = array("date" => "2014-09-24"); $o = (object) $b; $o2 = (object) $c; var_dump($o == $o2); var_dump($o === $o2); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q51Zc
function name:  (null)
number of ops:  15
compiled vars:  !0 = $b, !1 = $c, !2 = $o, !3 = $o2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        CAST                                          8  ~6      !0
          3        ASSIGN                                                   !2, ~6
    5     4        CAST                                          8  ~8      !1
          5        ASSIGN                                                   !3, ~8
    7     6        INIT_FCALL                                               'var_dump'
          7        IS_EQUAL                                         ~10     !2, !3
          8        SEND_VAL                                                 ~10
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'var_dump'
         11        IS_IDENTICAL                                     ~12     !2, !3
         12        SEND_VAL                                                 ~12
         13        DO_ICALL                                                 
   10    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.1 ms | 1394 KiB | 15 Q