3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 64; $i < 80; ++$i) { echo "{$i}.\t".crypt(str_repeat('a', $i), '$2y$04$usesomesillystringforsalt$')."\n"; } $x = crypt("abc\0defg", '$2y$04$usesomesillystringforsalt$'); var_dump($x === crypt("abc", '$2y$04$usesomesillystringforsalt$'));

preferences:
58.62 ms | 406 KiB | 5 Q