3v4l.org

run code in 500+ PHP versions simultaneously
<?php // From the PHP manual $arrayl = array("a" => "green", "b" => "brown", "c" => "blue", "red"); $array2 = array("a" => "GREEN", "B" => "brown", "yellow", "red"); $arrays = [$arrayl, $array2]; print_r(call_user_func_array("array_intersect_uassoc", [$arrayl, $array2, "strcasecmp"] ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jatEa
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arrayl, !1 = $array2, !2 = $arrays
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, <array>
    6     2        INIT_ARRAY                                           ~5      !0
          3        ADD_ARRAY_ELEMENT                                    ~5      !1
          4        ASSIGN                                                       !2, ~5
    8     5        INIT_FCALL                                                   'print_r'
          6        INIT_FCALL                                                   'array_intersect_uassoc'
          7        INIT_ARRAY                                           ~7      !0
          8        ADD_ARRAY_ELEMENT                                    ~7      !1
          9        ADD_ARRAY_ELEMENT                                    ~7      'strcasecmp'
         10        SEND_ARRAY                                                   ~7
         11        CHECK_UNDEF_ARGS                                             
         12        DO_FCALL                                          1  $8      
         13        SEND_VAR                                                     $8
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.36 ms | 1471 KiB | 15 Q