3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = [ "one" => [ "rawr1" => "sweet1" ], "two" => [ "rawr2" => "sweet2" ], "three" => [ "rawr3" => "sweet3" ] ]; $keys = ["one", "three"]; array_intersect_key($one, $keys);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jEJ5L
function name:  (null)
number of ops:  7
compiled vars:  !0 = $one, !1 = $keys
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        ASSIGN                                                   !1, <array>
   16     2        INIT_FCALL                                               'array_intersect_key'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.46 ms | 1393 KiB | 15 Q