3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("a" => "green", "b" => "brown", "c" => "blue", "red"); $b = array("a" => "green", "yellow", "red"); $c = array("c" => "blue"); print_r(array_diff_ukey($a, $b, $c, function($x, $y){ if ($x == $y) { return 0; } return $x > $y ? 1 : -1; }));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BImDK
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    6     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_diff_ukey'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !2
          8        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FBImDK%3A6%240'
   12     9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        SEND_VAR                                                 $7
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FBImDK%3A6%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BImDK
function name:  {closure}
number of ops:  12
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        IS_EQUAL                                                 !0, !1
          3      > JMPZ                                                     ~2, ->5
    8     4    > > RETURN                                                   0
   11     5    >   IS_SMALLER                                               !1, !0
          6      > JMPZ                                                     ~3, ->9
          7    >   QM_ASSIGN                                        ~4      1
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~4      -1
         10    > > RETURN                                                   ~4
   12    11*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FBImDK%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.46 ms | 1396 KiB | 17 Q