3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strlen('usesomesillystringfor')); echo crypt('mypassword', '$2a$10$usesomesillystringfors'); echo crypt('mypassword2', '$2a$10$usesomesillystringforu');
Output for 5.3.0 - 7.2.0
int(21) $2a$10$usesomesillystringforeqWfEfQZxwCz4KXtZeZZpokKuKskP.0i$2a$10$usesomesillystringforuCENeVXfZbFr4HtFmMiKyMawqyRxgmMa
Output for 4.3.0 - 5.2.17
int(21)
Process exited with code 139.