3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = "test\0something"; $y = "test\0anything"; $salt = '$2y$04$sdlkfjsd2lkf4h6zldf35ksj252gh'; var_dump(password_verify($x, $salt), crypt($y, $salt));
based on Y6onV
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
bool(false) string(60) "$2y$04$sdlkfjsd2lkf4h6zldf35eEtrNJW.GuYuYAAiCXUZ8cTgbqJ5uZ1q"