3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types=1); $hashedPassword = password_hash('', PASSWORD_BCRYPT); echo $hashedPassword;
based on OBu4Q
Output for 7.2.0
$2y$10$DknU2BSRmGIKzUMlt8bhleGrBiaXrAx8Cyr0EMoofJgVLMeq/uuBO
Output for 7.1.10
$2y$10$Byi23usOgJEd/QyEFcIeku6vfpKheL3OjNZ0sW3FbJ0nqiLVK9z6.
Output for 7.1.7
$2y$10$Xzb04gBAP1fWJz2KR0FNf.Wt.O2.fAIwrzYOnOEZrnH6OVpH8JwBS
Output for 7.1.6
$2y$10$TjEtmErgFauM0b.zia95O.Yf4prcTsoUwm84rHz7ZWA3.6N9z8HTG
Output for 7.1.5
$2y$10$VHMcO8FBmnW0Fxf1fdRq2OB5zZAFel031YF5mrHXnyGKXK/3AcjsS
Output for 7.1.0
$2y$10$aQq2nUiMHmRn.zroTR3VD.8Y.2Z.HLhN49LsXZeE3eCsMSjf0dgRu
Output for 7.0.20
$2y$10$oPtpGLsvY34MvWNQRhfYtuFd2zRlNZ.qoqW6BhiCBRICIZaGXQ8hO
Output for 7.0.6
$2y$10$BHqTbGb8F7FNfzEAw9/dreAXxmiQxUw2Q6PtEzpKpyZBAfVOaQOaO
Output for 7.0.5
$2y$10$7INfMox5/y3q1n9SYUq8BOa6iDM2/WKgP6NXJ7P/dYVsejVd8Vx02
Output for 7.0.4
$2y$10$yzKRchxPK6izMgJjefEur.xlpuCuBVSKSzCvi8FVhJmgBni/wTVw2
Output for 7.0.3
$2y$10$f/rM8zGfncimAhfWAy8OBeiF28Tfz0JIBbIHCIJO.E0D3xx11bm16
Output for 7.0.2
$2y$10$z8xqfBV6T9nxAbXQZzw33eGO/sVpjIj3W2jz25usTWKqYE32cx46m
Output for 7.0.1
$2y$10$QkttMRso8doggalgPUECW.O6Mo6Rujm9CiirSe9mMRm0XpGEnIEDy
Output for 7.0.0
$2y$10$G4TmZfRXRI4.Tga0qDQ6ieQ5rW9pJR1gPObkchXyuq/H6fJEIDkGy
Output for 5.6.28
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$Z3Qp4ekzapspx3E3mR012.GjIE3bsBfXFEQCJa4bJvVysgZtDT59K
Output for 5.6.21
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$7C.ct4bsshsMCmQNqPTVQ.gDbEZcVmSWOuucYILeJLVzmNseQenuu
Output for 5.6.20
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$/KYjKZNBs..2.cMQnx0nK.W.w30uyidZZs96yJwe8D1m7tf9YAsFa
Output for 5.6.19
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$ReqHxF6SxyG0T9HwCKYAE.1P14idxRsOtPUf9VM7MbRJBLchXPyJu
Output for 5.6.18
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$Dc4iP0pHBxByu8soV3N0ouMMCB2i1MCSPtuUiBNGQYQ1PwbIlhkeO
Output for 5.6.17
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$07o2RW1u2sEosQFzK34wjunfxcI1MaJZzjl7ERTgHKMWHfRx721zq
Output for 5.6.16
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$vuMln8hKa2o5sxo5S0fSX.MfaiNvHmDFkl2zxI0YnbTikXfFWlsWG
Output for 5.6.15
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$.zKafE/POPTBcDaI0vIGwuEuPsgbzUIpO1DR8t3AXAAIZrtf.sTaq
Output for 5.6.14
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$KdPxTN9MCS9ZU3hwG32OOuHCiCYCKEFnJF3F48pzi6IDq8Za9TKH.
Output for 5.6.13
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$kdrP/Gu7wjjk/Jpe.GGFAuQ2o/aog2/b7zgiuxGyLXWvlx8a9xJjC
Output for 5.6.12
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$W9uzzHpYfIRbH7277j8HIu/jjst0MwYD1vZqwcjAEHG9KgHrUmABW
Output for 5.6.11
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$ShN731ZyzIEt6v3HsMCQpes8VdZH9yMwWQyWfQ5D9yplqGukpYJCy
Output for 5.6.10
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$tUp5iHHBTGIDmgDQovNaCO4ChEXWBLsqUMHFRqm6QkfnOfh2888vG
Output for 5.6.9
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$R1n/0iEaCEakcC1eLTpezuJ3H1NZwNmADld3K/vx0YXdPV9xmMb7C
Output for 5.6.8
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$7x7ePv3g4hZzAdCxcPlclupCEDsTa31RrZEEmep2dc85ydqMihUnO
Output for 5.6.7
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$nzyrBP/kKZu5uwbjAmokyeJM/PEh9SpVwRXrt/qNCRY7IMrWqfcuK
Output for 5.5.35
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$S6qmrkcZyOJgQKGcVfGRVetA0asLWQiRNhohbpjpA6.tTM1eU8T7G
Output for 5.5.34
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$kYz5S0BtushNv0vYSQBI5Oe0m3X9ZqTYz3ojrBEBVQPLijTFTxn.q
Output for 5.5.33
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$ADvi6CVydACQB0P87cSMdeJKfOoY5Mi65a5t.K1gioHcHN4umShAG
Output for 5.5.32
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$AZzLB3FI6btKPiT7Jl10g.g4RJ215EreNJ7Zzf24zJy8uq2nlkjZu
Output for 5.5.31
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$WSgV7iLPnZjhFVXOixDkXeByCjX6Z9O7naTsvdUPmZpnzUvD534zu
Output for 5.5.30
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$YfnuqWLTaYF78ng6EEOvzOenpTau9jwFF5jjNs5OJzamBbwHiWQBK
Output for 5.5.29
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$EmePUegFGGMTeFbVARazbOlmxWCmsx47u49Nzj84hM8h4kvWgNITi
Output for 5.5.28
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$KjlGUdyGPDQDa964l2I3H.e8nRFWkSQg1Bb6hh0eKt2eWaglO3FeG
Output for 5.5.27
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$iyE3H13QnhMVRmy4VvVS8.ThLEevYQ4SIxoy4myUycj51CcSSHLx6
Output for 5.5.26
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$I7PqjVzLRUK4Qi/jz7DlUOjyq5VYtzwCZ32q9DvgS92ML0RPGIKuW
Output for 5.5.25
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$lin2bPIpWiIYkF345wG4Vep92vSLmSBttziTe20CswSia2OZ3p.0K
Output for 5.5.24
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 $2y$10$b.7gLmgotYphMStaHsMeyu7aBxFwhc0ZJstCBILvlzHyz92KU1GAm
Output for 5.3.18 - 5.4.45
Warning: Unsupported declare 'strict_types' in /in/nNHsa on line 2 Fatal error: Call to undefined function password_hash() in /in/nNHsa on line 4
Process exited with code 255.