3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array(); $array2 = array(); $result = array_intersect($array1, $array2,array()); print_r($result);
based on IR7te
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/9u05s
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array1, !1 = $array2, !2 = $result
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, <array>
   3     1        ASSIGN                                                   !1, <array>
   4     2        INIT_FCALL                                               'array_intersect'
         3        SEND_VAR                                                 !0
         4        SEND_VAR                                                 !1
         5        SEND_VAL                                                 <array>
         6        DO_ICALL                                         $5      
         7        ASSIGN                                                   !2, $5
   5     8        INIT_FCALL                                               'print_r'
         9        SEND_VAR                                                 !2
        10        DO_ICALL                                                 
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0