3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = '12345678901234567890'; $pw = 'test'; var_dump(PHP_VERSION); echo "Hash with salt: " . crypt($pw, '$2a$11$' . $salt) . "\n";

preferences:
49.06 ms | 402 KiB | 5 Q