3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $password = 'teste'; $hash = password_hash($password, PASSWORD_BCRYPT, array('cost' => 25); echo $hash . '<br />'; # $2y$10$PwbhVaqzuUSl5wSdi.iCK.RBz5pQp/a.6lRdSRttY8s2qs7dn5hTq $verified = password_verify($password, $hash); var_dump($verified);
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ';' in /in/qe4Wo on line 3
Process exited with code 255.