3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = password_hash("stringwith\0nullbytes", PASSWORD_DEFAULT); var_dump( password_verify('stringwith', $password) );

preferences:
26.8 ms | 406 KiB | 5 Q