3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'post' => array( 'tr' => array( 'slug' => 'a' ), 'en' => array('slug'=>'b') ) ); echo var_dump(array_unique( array_diff_assoc( $a['post'], array_unique( $a['post'] ) ) )); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jReI7
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'array_unique'
          3        INIT_FCALL                                               'array_diff_assoc'
          4        FETCH_DIM_R                                      ~2      !0, 'post'
          5        SEND_VAL                                                 ~2
          6        INIT_FCALL                                               'array_unique'
          7        FETCH_DIM_R                                      ~3      !0, 'post'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                         $7      
         16        ECHO                                                     $7
   11    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.52 ms | 1386 KiB | 19 Q