3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
int(21) $2a$10$usesomesillystringforeqWfEfQZxwCz4KXtZeZZpokKuKskP.0i$2a$10$usesomesillystringforuCENeVXfZbFr4HtFmMiKyMawqyRxgmMa
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.2.17
int(21)
Process exited with code 139.