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/pJEVe
function name:  (null)
number of ops:  22
compiled vars:  !0 = $arr1, !1 = $arr2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~2      'wi_fi'
          1        INIT_ARRAY                                       ~3      ~2
          2        INIT_ARRAY                                       ~4      0, ~3
    4     3        FETCH_CONSTANT                                   ~5      'test'
          4        INIT_ARRAY                                       ~6      ~5
          5        ADD_ARRAY_ELEMENT                                ~4      'abcd', ~6
    3     6        ASSIGN                                                   !0, ~4
    5     7        FETCH_CONSTANT                                   ~8      'wi_fi'
          8        INIT_ARRAY                                       ~9      ~8
          9        INIT_ARRAY                                       ~10     1, ~9
    6    10        FETCH_CONSTANT                                   ~11     'test'
         11        INIT_ARRAY                                       ~12     ~11
         12        ADD_ARRAY_ELEMENT                                ~10     'abc', ~12
    5    13        ASSIGN                                                   !1, ~10
    8    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'array_diff'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $14     
         19        SEND_VAR                                                 $14
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.11 ms | 1395 KiB | 17 Q