3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( //sha224 $a = hash('sha224', 'Ward van der '), $b = hash('sha224', 'Willem VP'), $a === $b, //sha256 $a = hash('sha256', 'Ward van der '), $b = hash('sha256', 'Willem VP'), $a === $b, //sha384 $a = hash('sha384', 'Ward van der '), $b = hash('sha384', 'Willem VP'), $a === $b, // sha512 $a = hash('sha512', 'Ward van der '), $b = hash('sha512', 'Willem VP'), $a === $b );

preferences:
32.42 ms | 405 KiB | 5 Q