3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hash = '$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); $pass = $test == $hash; echo "Test for functionality of compat library: " . ($pass ? "Pass" : "Fail"); echo "$hash\n"; echo "$test\n"; echo "\n";
Output for 5.3.7 - 7.1.0
Test for functionality of compat library: Pass$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG $2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG
Output for 5.3.2 - 5.3.6
Test for functionality of compat library: Fail$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG $2mV0NZp92R3g
Output for 5.3.0 - 5.3.1
Test for functionality of compat library: Fail$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG $2SXu7evaw9i.
Output for 4.3.0 - 5.2.17

Process exited with code 139.