3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $salt = "KFtIFW1vulG5nUH3a0Mv2e"; $password = "testtest"; $key = '$2y$07$'; $key = $key.$salt."$"; echo crypt($password, $key);
based on qqHUe
Output for 5.3.7 - 7.2.0
$2y$07$KFtIFW1vulG5nUH3a0Mv2eLsjOP//rXSqaUbIXNtCwlVQiVhUgOMO
Output for 5.3.2 - 5.3.6
$2cyJwqzVYhVc
Output for 5.3.0 - 5.3.1
$2ajSPKUVitaM
Output for 4.3.0 - 5.2.17

Process exited with code 139.