3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(crypt('something','$6$rounds=5000$anexamplestringforsalt$'));
Output for 5.3.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(118) "$6$rounds=5000$anexamplestringf$Oo0skOAdUFXkQxJpwzO05wgRHG0dhuaPBaOU/oNbGpCEKlf/7oVM5wn6AN0w2vwUgA0O24oLzGQpp1XKI6LLQ0"
Output for 5.3.0 - 5.3.1
string(13) "$6pT0I0F.8riU"
Output for 4.3.0 - 5.2.17
string(99) "$6$rounds=50$WqvQIKYnOlG5oL/EEvevvQjZOsqAEuVSuXIRnTU/tlYLCKnxRtQuuEnyNf4V9F8GlvKit6AiKI8Nfk6a1VjET0"