3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ ["ref" => "bee898d8739aa8b2212", "place" => "Berlin"], ["ref" => "ygz121byr46dl4795eu", "place" => "Paris"], ["ref" => "cer123bur45dl4795ef", "place" => "New-York"], ["ref" => "abc123abc12ab1234ab", "place" => "London"] ]; $b = [ ["ref" => "ygz121byr46dl4795eu", "place" => "Paris"], ["ref" => "cer123bur45dl4795ef", "place" => "New-York"] ]; var_export( array_udiff($a, $b, fn($rowA, $rowB) => $rowA['ref'] <=> $rowB['ref']) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0THfb
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        ASSIGN                                                   !1, <array>
   15     2        INIT_FCALL                                               'var_export'
   16     3        INIT_FCALL                                               'array_udiff'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DECLARE_LAMBDA_FUNCTION                          ~4      [0]
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
   15    10        DO_ICALL                                                 
   17    11      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0THfb
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $rowA, !1 = $rowB
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        FETCH_DIM_R                                      ~2      !0, 'ref'
          3        FETCH_DIM_R                                      ~3      !1, 'ref'
          4        SPACESHIP                                        ~4      ~2, ~3
          5      > RETURN                                                   ~4
          6*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.3 ms | 1005 KiB | 15 Q