3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = microtime( true ); $password = 'my_password'; $options = [ 'cost' => 10, ]; $hash = password_hash($password, PASSWORD_BCRYPT, $options); var_dump($hash); var_dump( microtime(true) - $t );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
149.88 ms | 1310 KiB | 11 Q