3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startTime = microtime(TRUE); $password='123456'; $cost=13; $hash=password_hash($password, PASSWORD_DEFAULT, array('cost' => $cost)); password_verify($password,$hash); $endTime = microtime(TRUE); $time = $endTime - $startTime; echo $time;

Abusive script

This script was stopped while abusing our resources


preferences:
33.32 ms | 406 KiB | 5 Q