3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s='Ceam mai frecventa litera este , frecventa fiind de'; $a= @explode('',$s); var_dump($a); $r = sort(array_unique($a)); var_dump($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FVX1E
function name:  (null)
number of ops:  22
compiled vars:  !0 = $s, !1 = $a, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Ceam+mai+frecventa+litera+este+%2C+frecventa+fiind+de'
    4     1        BEGIN_SILENCE                                    ~4      
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        END_SILENCE                                              ~4
          7        ASSIGN                                                   !1, $5
    5     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'sort'
         12        INIT_FCALL                                               'array_unique'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $8      
         15        SEND_VAR_NO_REF                               0          $8
         16        DO_ICALL                                         $9      
         17        ASSIGN                                                   !2, $9
    7    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.8 ms | 1395 KiB | 21 Q