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");
Output for 5.3.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Test for functionality of compat library: Pass
Output for 5.3.0 - 5.3.6
Test for functionality of compat library: Fail
Output for 4.3.0 - 5.2.17

Process exited with code 139.