3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.5 ms | 1399 KiB | 17 Q