3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.32 ms | 1394 KiB | 17 Q