3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); function isPangram($string) { $string = preg_split('//u', $string); $range = range('a', 'z'); return count(array_intersect($range, $string)) === count($range); } echo isPangram('the quick brown fox jumps over the lazy dog');

preferences:
55.46 ms | 402 KiB | 5 Q