3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("Misty","M","Maine"); $barr = array("Misty","M","Maine"); $o = (object) $arr; $o2 = (object) $barr; echo $o == $o2? 'true':'false',"\n"; echo $o === $o2? 'true':'false',"\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
Branch analysis from position: 17
filename:       /in/iGW07
function name:  (null)
number of ops:  21
compiled vars:  !0 = $arr, !1 = $barr, !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
    6     6        IS_EQUAL                                                 !2, !3
          7      > JMPZ                                                     ~10, ->10
          8    >   QM_ASSIGN                                        ~11     'true'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~11     'false'
         11    >   ECHO                                                     ~11
         12        ECHO                                                     '%0A'
    7    13        IS_IDENTICAL                                             !2, !3
         14      > JMPZ                                                     ~12, ->17
         15    >   QM_ASSIGN                                        ~13     'true'
         16      > JMP                                                      ->18
         17    >   QM_ASSIGN                                        ~13     'false'
         18    >   ECHO                                                     ~13
         19        ECHO                                                     '%0A'
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.19 ms | 1394 KiB | 13 Q