3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.76 ms | 1385 KiB | 17 Q