3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sentence = 'subdermatoglyphic'; $alphabet = range('a', 'z'); echo implode( array_diff( $alphabet, preg_split( '~[^a-z]*~i', $sentence, 0, PREG_SPLIT_NO_EMPTY ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WPslB
function name:  (null)
number of ops:  21
compiled vars:  !0 = $sentence, !1 = $alphabet
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'subdermatoglyphic'
    4     1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 'a'
          3        SEND_VAL                                                 'z'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        INIT_FCALL                                               'implode'
    7     7        INIT_FCALL                                               'array_diff'
    8     8        SEND_VAR                                                 !1
    9     9        INIT_FCALL                                               'preg_split'
   10    10        SEND_VAL                                                 '%7E%5B%5Ea-z%5D%2A%7Ei'
   11    11        SEND_VAR                                                 !0
   12    12        SEND_VAL                                                 0
   13    13        SEND_VAL                                                 1
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                         $6      
         17        SEND_VAR                                                 $6
         18        DO_ICALL                                         $7      
         19        ECHO                                                     $7
   16    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.14 ms | 1395 KiB | 21 Q