3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(crypt('rasmuslerdorf', '$6$rounds=5000$usesomesillystrin$'));
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$usesomesillystri$D4IrlXatmP7rx3P3InaxBeoomnAihCKRVQP22JZ6EY47Wc6BkroIuUUBOov1i.S5KPgErtP/EN5mcO.ChWQW21"
Output for 5.3.0 - 5.3.1
string(13) "$6JnhHzz4wGE2"
Output for 4.3.0 - 5.2.17
string(99) "$6$rounds=50$yDVIuWn/DN6jbWqDzxLFUzzY8ytBxzZ9tZZskUN6EZN6K768X1/uVdUxvTCoM6vPTNQo/O9jR15pyqO9.g0Cu/"