3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.17 ms | 1394 KiB | 15 Q