3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 0=>array( 'arrival' => 1, 'uid' => 1 ), 1=>array( 'arrival' => 0, 'uid' => 2 ) ); $b = array( 0=>array( 'arrival' => 1, 'uid' => 1 ) ); var_dump(array_udiff($a, $b, 'diff')); function diff($a, $b) { return $a - $b; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vBpBV
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, <array>
   19     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'array_udiff'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 'diff'
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
   22    10      > RETURN                                                   1

Function diff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vBpBV
function name:  diff
number of ops:  5
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   21     2        SUB                                              ~2      !0, !1
          3      > RETURN                                                   ~2
   22     4*     > RETURN                                                   null

End of function diff

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.14 ms | 1395 KiB | 17 Q