3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1394 KiB | 21 Q