3v4l.org

run code in 300+ PHP versions simultaneously
<?php // check if crc32 is available echo function_exists('crc32') ? 'crc32 is available' : 'crc32 is not available'; echo PHP_EOL; // check if crc32 is available through hash function echo in_array('crc32', hash_algos()) ? 'crc32 is available through hash function' : 'crc32 is not available through hash function'; echo PHP_EOL; // check if crc32 can be used with hash function echo hash('crc32', 'The quick brown fox jumped over the lazy dog') ? 'crc32 can be used with hash function' : 'crc32 cannot be used with hash function'; echo PHP_EOL;

preferences:
25.97 ms | 408 KiB | 5 Q