3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($_SERVER); setlocale(LC_ALL, 'ru_RU.CP1251'); if (count($_SERVER) === 21) { mb_internal_encoding('UTF-8'); $crc32 = crc32(mb_strtolower(str_replace('ё', 'е', 'Алёна'))); } else { $crc32 = crc32(strtolower(str_replace('ё', 'е', 'Алёна'))); } setlocale(LC_ALL, null); var_dump($crc32);
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
array(17) { ["TERM"]=> string(5) "xterm" ["PATH"]=> string(13) "/usr/bin:/bin" ["LANG"]=> string(1) "C" ["SHELL"]=> string(7) "/bin/sh" ["MAIL"]=> string(16) "/var/mail/nobody" ["LOGNAME"]=> string(6) "nobody" ["USER"]=> string(6) "nobody" ["HOME"]=> string(4) "/tmp" ["PHP_SELF"]=> string(9) "/in/RVZPE" ["SCRIPT_NAME"]=> string(9) "/in/RVZPE" ["SCRIPT_FILENAME"]=> string(9) "/in/RVZPE" ["PATH_TRANSLATED"]=> string(9) "/in/RVZPE" ["DOCUMENT_ROOT"]=> string(0) "" ["REQUEST_TIME_FLOAT"]=> float(1450102224.0001) ["REQUEST_TIME"]=> int(1450102224) ["argv"]=> array(1) { [0]=> string(9) "/in/RVZPE" } ["argc"]=> int(1) } int(972288325)

preferences:
258.38 ms | 405 KiB | 335 Q