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[0]), 'Duplicated Letters' => array_diff(array_count_values($letters[0]), [1]), ]);
based on IUTV1

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
array ( 'Sentence' => 'Jumpy Qbert grawlix', 'Total Length' => 19, 'Alphabetical Length' => 15, 'Unused Letters' => array ( 2 => 'c', 3 => 'd', 5 => 'f', 7 => 'h', 9 => 'j', 10 => 'k', 13 => 'n', 14 => 'o', 16 => 'q', 18 => 's', 21 => 'v', 25 => 'z', ), 'Duplicated Letters' => array ( 'r' => 2, ), )
Output for branch php-master+jit
array ( 'Sentence' => 'Jumpy Qbert grawlix', 'Total Length' => 19, 'Alphabetical Length' => 15, 'Unused Letters' => array ( 2 => 'c', 3 => 'd', 5 => 'f', 7 => 'h', 9 => 'j', 10 => 'k', 13 => 'n', 14 => 'o', 16 => 'q', 18 => 's', 21 => 'v', 25 => 'z', ), 'Duplicated Letters' => array ( 'r' => 2, ), )
Output for branch php-master+opcache
array ( 'Sentence' => 'Jumpy Qbert grawlix', 'Total Length' => 19, 'Alphabetical Length' => 15, 'Unused Letters' => array ( 2 => 'c', 3 => 'd', 5 => 'f', 7 => 'h', 9 => 'j', 10 => 'k', 13 => 'n', 14 => 'o', 16 => 'q', 18 => 's', 21 => 'v', 25 => 'z', ), 'Duplicated Letters' => array ( 'r' => 2, ), )

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page