3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.99 ms | 1394 KiB | 19 Q