3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array("wi_fi" => 0, "test" => "abcd"); $arr2 = array([wi_fi] => 1, "test" => "abc"); var_dump(array_diff($arr1,$arr2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i2tBL
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr1, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        FETCH_CONSTANT                                   ~3      'wi_fi'
          2        INIT_ARRAY                                       ~4      ~3
          3        INIT_ARRAY                                       ~5      1, ~4
    6     4        ADD_ARRAY_ELEMENT                                ~5      'abc', 'test'
    5     5        ASSIGN                                                   !1, ~5
    8     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'array_diff'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11        SEND_VAR                                                 $7
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.91 ms | 1385 KiB | 17 Q