3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("apple", "banana"); $b = array(1 => "banana", "0" => "apple"); print_r($a,true); print_r($b,true); var_dump($a == $b); // bool(true) var_dump($a === $b); // bool(false) ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A2cMj
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'var_dump'
         11        IS_EQUAL                                         ~6      !0, !1
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                                 
    7    14        INIT_FCALL                                               'var_dump'
         15        IS_IDENTICAL                                     ~8      !0, !1
         16        SEND_VAL                                                 ~8
         17        DO_ICALL                                                 
    8    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.96 ms | 1394 KiB | 17 Q