3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $validPassword = urlencode('111'); $salt = base64_encode('kasbdjasbdjasbdjkasndjkasndjkasndjkasndkj'); $hashed_password = crypt($validPassword, '$6$rounds=5000$'.$salt.'$'); echo $hashed_password;
Output for 5.3.2 - 7.1.10
$6$rounds=5000$a2FzYmRqYXNiZGph$xw/mjGXD53tbekxkKcvkoTQWKBE5vGTSbSKXeDfY8k2yYb/HZB0Fw9JVTlLnPcJu1jLYrRVU1594qMdZ1HtSZ.
Output for 5.3.0 - 5.3.1
$6UUo57b.KN66
Output for 4.3.0 - 5.2.17
$6$rounds=50$C5rzZsnWB/rUBoFMznnPjGRQokVvYY8Rb3VKUN9qabtM2MkwWbzRWDOQu/vam.ral/6.H.rpGxVRBFVOY2VE70