3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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');
based on j1Jhc
Output for hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0rc3
1
Output for 5.6.0 - 5.6.30
Warning: Unsupported declare 'strict_types' in /in/SZutd on line 2 1