3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hash = '$md5$2y$10$atGASXMlANJI2CUyCQqZEeOB6cPxXD8NxTa9E/sQTxfGL7Du9WDyi'; var_dump(substr($hash, 0, 4) === '$md5'); var_dump(password_verify(md5('test'), substr($hash, 4)));
based on DHt2m
Output for 5.5.0 - 7.3.0rc4
bool(true) bool(true)
Output for 5.0.0 - 5.4.45
bool(true) Fatal error: Call to undefined function password_verify() in /in/J748T on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
bool(true) Fatal error: Call to undefined function: password_verify() in /in/J748T on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
bool(true) Fatal error: Call to undefined function: password_verify() in /in/J748T on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
bool(true) Fatal error: Call to undefined function: password_verify() in /in/J748T on line 5