3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($v1,$v2){ return 0; } $array2=NULL; $array=array( array("id"=>1,"data"=>1), array("id"=>1,"data"=>2), array("id"=>1,"data"=>3), array("id"=>3,"data"=>5), array("id"=>8,"data"=>1), array("id"=>10,"data"=>10) ); print_r(array_udiff_assoc($array, $array, 'test'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rhCcJ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array2, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, null
    7     1        ASSIGN                                                   !1, <array>
   15     2        INIT_FCALL                                               'print_r'
          3        INIT_FCALL                                               'array_udiff_assoc'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 'test'
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

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

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1394 KiB | 17 Q