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 );
Output for git.master_jit
string(60) "$2y$10$cX23TbUE5FTsgli0/XquJe8d078RklFF.euNavkFsO6DnNXIHqICm" float(0.05081892013549805)
Output for git.master
string(60) "$2y$10$.7KWHe7o5ynlM4M0j9O.QeSR063SrUZEqo6PNw6xf9oDGMe54DSTS" float(0.05106091499328613)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
28.18 ms | 406 KiB | 5 Q