3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash('5adrftg', PASSWORD_DEFAULT, array('cost' => 12));
Output for 7.1.0
$2y$12$kFgB5YGucoBmi9vc7bk6ju3q2Qmk6gUw9tlbNc7NTWv5Tr1xlVo7e
Output for 7.0.14
$2y$12$pz/nlFfBUETLY78MgDEezuB1gUSbujja0TMPFMhvklQrJ6VbUzP.S
Output for 7.0.6
$2y$12$CARR9UMI32agni9dP3Le/OcsTN82NNsGWTZ6llwleFJhUzPMPzHMu
Output for 7.0.5
$2y$12$WyE5KttdiX8k0D4IjGVVV.RxwXA4rys8K663PTHA106xrvOqBzgx2
Output for 7.0.4
$2y$12$VNatQX2vbVodaFnSvixHAOFxAX8v3E6KysxdM9aVfsmNhGdv9w8Mu
Output for 7.0.3
$2y$12$vceJOhwjdsjX0bWUJYKEBOqZlmhOObtbKoYr/lx.1D3jXDyIZAj12
Output for 7.0.2
$2y$12$RAx.inlus2lOIw7NjYriQeZeLbKIWmypdVM7VISRS8IxpTFdOENR6
Output for 7.0.1
$2y$12$iyexfY2CPmdO9wFDkcAGLOHaxCCO4MwPQnhfTpw0Yb5ygokpAmtme
Output for 7.0.0
$2y$12$8wlqL3iKRgShiusfb0w4v.HWlIuYwceudRPY9i3cQjfsc51vyJfAa
Output for hhvm-3.12.0
$2y$12$V9VGHPMFPnGScAyUYmvR2e1oxHPiWTa5Bv3Q86UamC50aMhgJ/BEG
Output for hhvm-3.10.0
$2y$12$8XXBDo3mK0QMLcYCBIK/ye98mKT4KoW9S6KVqZHZB/7x38k6Ithqe
Output for 5.6.28
$2y$12$kqSdPX5ZHkQ0YH9KjWg5e.zExFTAZ8TJyNi5LZyN8M36BMlADwkde
Output for 5.6.21
$2y$12$PWG0rPryiVM8IyitWo6ZNe58cqJkrgTzhcsN9KTSRC8yRxnJYsTT6
Output for 5.6.20
$2y$12$4O7qpmsCxdWVSDS0cTyBh.QPKGeiHdPGtrQ48MCzU2IPdVrzg/rgO
Output for 5.6.19
$2y$12$syeQbc1Ps7iz2yfXtabTwuHXe1ySUbdmIc7AYBZeF3b8Z1hy47Ypy
Output for 5.6.18
$2y$12$rHRfnBxLmjHbyDJuLXGUMuCUoVm0PVSwWo/TIaVzIXi8/M/0cjil2
Output for 5.6.17
$2y$12$AUt7Rf3I5Re60uQZSWM3quLf.uO7K9JbRKvReCFYztnjDpokeYSTO
Output for 5.6.16
$2y$12$1H4TP090GaekPuv4WJfluuGlZu6xmCU6AIUoz3kOcjdY2qMmBepEu
Output for 5.6.15
$2y$12$HGvztbDzQkQfJuilxpdK6eUbVv3aa/eGk/FBcs8/CP9bi0Lzz17wm
Output for 5.6.14
$2y$12$yQDogiRi9HD9l1y8m4YsV.fntP2lB2VqA6hMaoanP2/T9ACth4fAK
Output for 5.6.13
$2y$12$kfYWpTngsn7I7z.O3uObD.HzNFIQhe5PFu1LRVrb6CNU6.IPOnmcm
Output for 5.6.12
$2y$12$av0sWkMhzUuW5BY0I6omiu1BSJ7UWL3BNX5ry4fsN4cz7OSOqxnHy
Output for 5.6.11
$2y$12$uJ/.yjPZHYKrhqUrZeSPVOy8Mx84TUaewlc2/TnCdlQ6fHupay9fi
Output for 5.6.10
$2y$12$5onZyRR9f4HoSmTv7T/kZeg0IEdNff1S4susrLoYrH9FHldfgS7Zy
Output for 5.6.9
$2y$12$WocWVN7cZ61xSe6o1etxLOI2pKAP71kejXPcis53qSaDUxUopUl2a
Output for 5.6.8
$2y$12$70BpNxwCLVVoZFOLEcLbiOhngUjmb6d/jPcI3iWUiKBEnxXSWxSJS
Output for 5.5.35
$2y$12$zP0D9xF/MF/ZR7pHJnjOaO/F6KrqgRXZ0bGdxzNmOJKRBrikfIHxG
Output for 5.5.34
$2y$12$ePthPxZ3pjzE5bGa9aA7bOoBaeT59Te1j6XIBLfvm.le8zPjXq7k6
Output for 5.5.33
$2y$12$j3AMTGshnK8JxP2ZDH60O.A62pPDK//QyjXtgpOnSNB/yN0FiJgSi
Output for 5.5.32
$2y$12$i2Flyqb51PD4GHOOtlHM5eoWCYlUz7t6C.1.XF8ZR0Au/BQT4GLKW
Output for 5.5.31
$2y$12$rhya4KUonHKmMCBpLbAgzewLi6KCQNX.wbJUi.xl0zYzpOJ6imqea
Output for 5.5.30
$2y$12$oaqbEmB5.NGPQFPJJ/ie1.tbe2tLSP6ku2s3NWgg3Vgvj0sRweXMm
Output for 5.5.29
$2y$12$g5RsjZKuX0mn5dgU5rBBvOqan6hSgohKEoEzbxCkFzXJ9r9dSBRqu
Output for 5.5.28
$2y$12$edCrwknaRSX2P1Z96tVU9efdQ2l0b7AwadGrVQsj9BWhH3q/algyS
Output for 5.5.27
$2y$12$GGl.eM.y7Z89gVTEIewyfelwDnT/l9YqhdjQgnEdIFpem68/wD8ue
Output for 5.5.26
$2y$12$VvGDDWhSTnqxJJKWc6KlDuZRRUfhW0L/Xe3LjlkeRAJDVmoP0qKn2
Output for 5.5.25
$2y$12$UK.qDdKVW8FdXNrcPBZ2F.6lHFyaX6oPnuk/0wZ6xtTlNkVTtFg3W
Output for 5.5.24
$2y$12$ug/6iE52dQ8bKwRxM4DkbeN5fCRwtu9xp8ZgKkglV.DVR/RyEGknq
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/C8j1D on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/C8j1D on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/C8j1D on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/C8j1D on line 4