3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo password_hash("test", PASSWORD_DEFAULT, ['cost'=>4]);
based on RveF6
Output for 7.2.6
$2y$04$hvrAc3hAkQmCRxCLyCZzeuHtqgPj8Wbs0ZsRA7MOdOSEceQSclPfW
Output for 7.2.0
$2y$04$4pwl10kIEXR2bZBKQkwBn.MB2XocWulIvYUd6oh51khu.wxsftrei
Output for 7.1.20
$2y$04$n8W9rK/Ee9PD8Z0VbMBnLO1dg64jF5T8h10EuvABR8lEQWYW5kasO
Output for 7.1.10
$2y$04$zSB1aMeJo01w//4mpEQ3hev/pEbOLxEcoge6RCvOIdNDSLYsEXTb2
Output for 7.1.7
$2y$04$LQH/t4Vlcqb1w0n25tlBR.NM7be40jxl0N.Zfvn.3yGXn1LsNo9Yu
Output for 7.1.6
$2y$04$FIreHbYsyee70B4lgTtL/ePyXbHzpn6JXjBFQg1MOt/.RqK8s1U02
Output for 7.1.5
$2y$04$SS8wDQtBRJwh1r6RPWs1O.PIXJOsVN8Zc93EQAKGZN/ZWSmRMzsPO
Output for 7.1.0
$2y$04$7QnxakoDcPR0CshdXCvICu6HPi31BCPHkjEFI0b6gKh9uYo9F5fqS
Output for 7.0.20
$2y$04$q/L/Nfom7ut9EuKehYVxRuDt14H6Ic8D2NQ5Dgdo9pO8P0L8kgyqO
Output for 7.0.6
$2y$04$5I0MeeCxo4pVglTHTY368eLT1bI50kn3AQ87pdc/.HmrgdIWoyE4K
Output for 7.0.5
$2y$04$1aWePvogsW5cFuDt25OYVud0PkBPuO391IEmXGwbpAag8cTmsyD0C
Output for 7.0.4
$2y$04$HmUq9V0u.qL2CCy2fCCa3OHWmpKh5Yhl1IONxos/npEt5/Y5bhrri
Output for 7.0.3
$2y$04$ZdpZrxJENjVIinNGlrdSne/kWC3No4RRsU0T7Mhl8zrcWxLhdEao2
Output for 7.0.2
$2y$04$GqRcTySEfAlQvxiTs3oGce9S0gBpDCOyEJJtNw54UdW/CpO4b/Gza
Output for 7.0.1
$2y$04$kV2UTEm53ntx2Ojjs6QMm.koF2MbjWdXHjNKBCbQdhgxWfy4LAuSK
Output for 7.0.0
$2y$04$ReBFyW05niGkVUuCK9FRf.XKBXy9fjBBoZVNgkpUrmvy8HNVwISBq
Output for 5.6.28
$2y$04$TS72RxfQNyeDiSlm0E6g/.WPPEf40gu8WAcq4UfWZK2CrqKrlCiI2
Output for 5.6.21
$2y$04$JqhF5QFvm5mrN7T5GsaJZ.YHhf8xZrK9gq297TnldL0/LJ8kPHNx.
Output for 5.6.20
$2y$04$65Hn.oZcQyqp1OdQPf67OOFCfi7yIWccfQd6LhG/YkW3Ms1wHtlp6
Output for 5.6.19
$2y$04$s/Kd64d9ym7hzBFfqvg3jOejWCtfW.P7RhUbXTV1e7t33f/L51DK.
Output for 5.6.18
$2y$04$XqoNGrOq6wVApllH.XHPw.JrrssA1gNsIbehcN6jbDRCBR4f23hZa
Output for 5.6.17
$2y$04$GWkV9koSagfAJ3wm0XQgo.skI4B327KdAVIvpcHy4WaplU8lG9w4S
Output for 5.6.16
$2y$04$Nz/YeRx8tH7DmkzqpsWcIej2BIAohGNM/hCVqouPdUHY4MXVsuHkS
Output for 5.6.15
$2y$04$US0Z.OxhXqQgiWJl5FsYzOD97tMrKlzsqLtK9ljKJkPgwwNkLGTmy
Output for 5.6.14
$2y$04$G5e3hDsAYAa/Wf3wVHTlYeNxGvot8xghn9QE9RcMRJdRjYZl8rMny
Output for 5.6.13
$2y$04$tzdWwHR21CyNpP.fOee4cun9TF6Kk3QWeTQ1u2b.XJ5CyXZjWZz0W
Output for 5.6.12
$2y$04$3KBcwQYVpA62IHPkXT2hE.cDSSEKJqKERDVGqD3.y8D1SL8SyG/da
Output for 5.6.11
$2y$04$ZCFRumBSXLuh91Fm15WH4u.Xcvrs6TW8snTcCMhQuTzEIfbuPob7K
Output for 5.6.10
$2y$04$pmcvpWOWazi7vJW9oDf0OuBYDCNr4jmlEk0lyIiFYwbsN5x94LnfO
Output for 5.6.9
$2y$04$DJzcoSkBoECPGwAPjrT6h.OAux/rr70a7K6Ctir/fFiUys23Cx.RO
Output for 5.6.8
$2y$04$WRVDgj3jHT8UvdW2z0Z/Z.QdQA92j.3ygs2x1FYiwFXYl3l1e86My
Output for 5.5.35
$2y$04$BzIRLKySxN63ag9uxTyeZemLv60iYxaTfW9kRsc5aE0l8r9c3fgdy
Output for 5.5.34
$2y$04$m09nJ9Ck1o4i6lfPbwhoXujLeYOta7.nK7IJh3FKZX2Km0GoUvejm
Output for 5.5.33
$2y$04$Dh5uAdAjAs/Ahbu9xkJ.NuLFZERIDSXVbg0b/OCBos7zwqMxpwPua
Output for 5.5.32
$2y$04$d1q/HnwtfETYm8bALYZQduvRPwoMtEL181aLeWE1yxipgFuc3lSv.
Output for 5.5.31
$2y$04$O5ViTOkNi9dSbWG3ZzfX8.PmOgfYE51hH7phACtDgyvNd8CEsQlwW
Output for 5.5.30
$2y$04$9ZbZ159JPydgRl1iv6j03.jgYFWTqvNGvEq2rxIx9KHaF2w89fm7O
Output for 5.5.29
$2y$04$pLsvz0xCbEiPB/9aVRFVseielClIFgsaa7W3Iy/v20agOq9.1sy0i
Output for 5.5.28
$2y$04$Rzp60SqXY./1Vnfs8UZ0yutK4Gf9OLtFoDc2.GWe2iSUPt8QhQpi6
Output for 5.5.27
$2y$04$3UlRF5g7SqZ7NvWjieBnAuVbZlcuFFR1irCkIK37G1jDbD99ZODRG
Output for 5.5.26
$2y$04$sg2T5FzFaeawHSD/KcW8wuKpI6mKHxQhiWh/jiylFBqgXOT/F..qu
Output for 5.5.25
$2y$04$eIQFKIrnhqZugZ/x61OTpuSJ5ETXlbCBbYnznjYho94P23miINB8G
Output for 5.5.24
$2y$04$2As5lnC9Va6nWmiHWn60yeeCINLfC1D51MnwMFaFOTpAssQupCbOq
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/tih44 on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/tih44 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/tih44 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/tih44 on line 2
Process exited with code 255.