3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sentence = 'Jumpy Qbert grawlix'; $usage = count_chars(strtolower($sentence), 3); $alphabet = range('a', 'z'); var_export([ 'Sentence' => $sentence, 'Total Length' => strlen($sentence), 'Alphabetical Length' => preg_match_all('~[a-z]~', $sentence, $letters), 'Unused Letters' => array_diff($alphabet, $letters), 'Duplicated Letters' => array_diff(array_count_values($letters), [1]), ]);
based on WPslB
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IUTV1
function name:  (null)
number of ops:  40
compiled vars:  !0 = $sentence, !1 = $usage, !2 = $alphabet, !3 = $letters
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'Jumpy+Qbert+grawlix'
   4     1        INIT_FCALL                                               'count_chars'
         2        INIT_FCALL                                               'strtolower'
         3        SEND_VAR                                                 !0
         4        DO_ICALL                                         $5      
         5        SEND_VAR                                                 $5
         6        SEND_VAL                                                 3
         7        DO_ICALL                                         $6      
         8        ASSIGN                                                   !1, $6
   5     9        INIT_FCALL                                               'range'
        10        SEND_VAL                                                 'a'
        11        SEND_VAL                                                 'z'
        12        DO_ICALL                                         $8      
        13        ASSIGN                                                   !2, $8
   6    14        INIT_FCALL                                               'var_export'
   7    15        INIT_ARRAY                                       ~10     !0, 'Sentence'
   8    16        STRLEN                                           ~11     !0
        17        ADD_ARRAY_ELEMENT                                ~10     ~11, 'Total+Length'
   9    18        INIT_FCALL                                               'preg_match_all'
        19        SEND_VAL                                                 '%7E%5Ba-z%5D%7E'
        20        SEND_VAR                                                 !0
        21        SEND_REF                                                 !3
        22        DO_ICALL                                         $12     
        23        ADD_ARRAY_ELEMENT                                ~10     $12, 'Alphabetical+Length'
  10    24        INIT_FCALL                                               'array_diff'
        25        SEND_VAR                                                 !2
        26        SEND_VAR                                                 !3
        27        DO_ICALL                                         $13     
        28        ADD_ARRAY_ELEMENT                                ~10     $13, 'Unused+Letters'
  11    29        INIT_FCALL                                               'array_diff'
        30        INIT_FCALL                                               'array_count_values'
        31        SEND_VAR                                                 !3
        32        DO_ICALL                                         $14     
        33        SEND_VAR                                                 $14
        34        SEND_VAL                                                 <array>
        35        DO_ICALL                                         $15     
        36        ADD_ARRAY_ELEMENT                                ~10     $15, 'Duplicated+Letters'
        37        SEND_VAL                                                 ~10
        38        DO_ICALL                                                 
  12    39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0