3v4l.org

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

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7e7LO
function name:  test
number of ops:  8
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        CONCAT                                           ~2      !0, '+'
          3        CONCAT                                           ~3      ~2, !1
          4        CONCAT                                           ~4      ~3, '%3Cbr%2F%3E'
          5        ECHO                                                     ~4
    4     6      > RETURN                                                   0
    6     7*     > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.27 ms | 940 KiB | 18 Q