3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( hash_file( 'md5', '/etc/' ) );
Output for 8.0.0 - 8.0.11, 8.1rc1 - rc2
Notice: hash_file(): Read of 8192 bytes failed with errno=21 Is a directory in /in/58RgW on line 3 bool(false)
Output for 7.4.0 - 7.4.23
Notice: hash_file(): read of 8192 bytes failed with errno=21 Is a directory in /in/58RgW on line 3 bool(false)
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.30
string(32) "d41d8cd98f00b204e9800998ecf8427e"

preferences:
48.78 ms | 461 KiB | 5 Q