3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'ăāæåß§śšşçæåß§ś'; $unique = array_unique( preg_split( '//u', $str, 0, PREG_SPLIT_NO_EMPTY ) ); shuffle($unique); var_export($unique);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CLCDm
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $unique
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C4%83%C4%81%C3%A6%C3%A5%C3%9F%C2%A7%C5%9B%C5%A1%C5%9F%C3%A7%C3%A6%C3%A5%C3%9F%C2%A7%C5%9B'
    5     1        INIT_FCALL                                               'array_unique'
    6     2        INIT_FCALL                                               'preg_split'
    7     3        SEND_VAL                                                 '%2F%2Fu'
    8     4        SEND_VAR                                                 !0
    9     5        SEND_VAL                                                 0
   10     6        SEND_VAL                                                 1
    6     7        DO_ICALL                                         $3      
   10     8        SEND_VAR                                                 $3
    5     9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
   14    11        INIT_FCALL                                               'shuffle'
         12        SEND_REF                                                 !1
         13        DO_ICALL                                                 
   16    14        INIT_FCALL                                               'var_export'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.11 ms | 1000 KiB | 17 Q