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;
Output for git.master, git.master_jit, rfc.property-hooks
crc32 is available crc32 is available through hash function crc32 can be used with hash function

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
101.86 ms | 405 KiB | 5 Q