3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash("aA§'SDGJS!$=d", PASSWORD_BCRYPT, ['cost' => 12]);
Output for 7.1.0
$2y$12$40/QWTEL7dBR4EqQ1BRet.uZRw3DStPCJhLH5F3FUWC4R1UuL5.MW
Output for 7.0.14
$2y$12$EnccJs7gV7AMwfDPt6/gU.UL6xEZ39RXhEN6g4EGHT4MnJelrmAP2
Output for 7.0.10
$2y$12$HYobI7tW9be04xsBG1SBp.bkd4VTKKrt5/gGw9TmiMDUdG8MI/IbG
Output for 7.0.9
$2y$12$l.5DTTZ2hy0AC0y6trAObOu4azMBe0H5I06G9jwT92/IIRPI7cG3a
Output for 7.0.8
$2y$12$81OXAFkNbQ0W0TMlakOTQOxuAAhxPHoexCVooW4prQnl9nL6nb0Si
Output for 7.0.7
$2y$12$E3DzdfQME/gxGzoQIBxMoumvi4AggrP5VPxNGrGZmy0VYxxZwzU4O
Output for 7.0.6
$2y$12$tZp8wJH9hPkY/sUsYTjdV.QYak2BWBSa58Mc2ARwTGyMoINmL8Spu
Output for 7.0.5
$2y$12$5PBy99ofAakj7OWuR9.npeW0ECjgUtY.n9g.vkNkkMepxqbRIoqWi
Output for 7.0.4
$2y$12$aUsM/doGfSkVhQGmIKkmieUeTS9XWy21kMPa9HCyI.HsksRjJh5we
Output for 7.0.3
$2y$12$I1di3M8FYADucp9475lfNeJKXCZ.cC8Wknaoy8DZ.n83DxQz6kSiS
Output for 7.0.2
$2y$12$y/SQd0hXm1qVric9VMUiGuQ.6euMox4.VjrLRJcX7zgwqClTcIx/K
Output for 7.0.1
$2y$12$3kZDE6GdwJlantk7.UUBluiRADx9UCEB.H83R6DUc.QvnsWZNiBlm
Output for 7.0.0
$2y$12$qrVDZC89lna.erdyReviTeEa4M7bXuxtmmJqR3NKVW18F9XBYFT0u
Output for hhvm-3.12.0
$2y$12$AQOYUgPKqmgEjoQG57Vtk.2nlZSTkGayFqR5sHBYbzbx5jdYtUDA6
Output for hhvm-3.10.0
$2y$12$.HtGX6w7dvTPiItwq0nd8.o83733jj1.46ligfdmMuIqbem9ydL1m
Output for 5.6.28
$2y$12$nPrjp0HAxkTrrwhDw.2lte5yhZaA6GNgkQTKwSm0paDCgPiyHntUC
Output for 5.6.25
$2y$12$3VkHyzf5QfXCdijapTvdrO8QgfYdQybBv0LT9W5l6xqI2hiBYlEyu
Output for 5.6.24
$2y$12$pcCTJaMshUwP77rIkTtfZO01DGvdrU/fowWG14pqk5xaCtYhbpb0.
Output for 5.6.23
$2y$12$JSLoyHMHq7KYJqyyMJyfIOrl4RkKyhTdMet.IlrzjdEOPdgevSdjy
Output for 5.6.22
$2y$12$DTK1yuU.y1aXYLOIQ/2fke8BwjFMEdqq72kWp65o4mUOu5sKMaQRC
Output for 5.6.21
$2y$12$c73TzN4e9F8oUT37E2QQNePFdXzCdZaXIoeVYpEiDps7htRjghHSG
Output for 5.6.20
$2y$12$BoQqaMOOWkPcNjXZq7aqYe7VsXDz9B/S3iXcqTvVeXyVKCxmHEOCK
Output for 5.6.19
$2y$12$/f1S/US.Ln8CVVkE8dlUwOhP86qJJTzUD5JMc4yBwNTCS0KJDUCRa
Output for 5.6.18
$2y$12$62zvlAn1FE/FvqvGcAS/x.EqCiUI.1ngSYCRpfncyURgOYT7OSysG
Output for 5.6.17
$2y$12$KcC8sxyH8GRMPRoXqLWF9O9Vz6Hu6TSDeL/o9ldoHwVWncxkfw9Za
Output for 5.6.16
$2y$12$tGldgJd/mpzB3MqWFN4xX.UGV8qYN/5IpVbZxhThTtrxTmH831CBG
Output for 5.6.15
$2y$12$kcJMrI.6fxmi3.rQoCJfpeKyH1/DrF0xRLsGYgKEo.tjl5/QsWQ5G
Output for 5.6.14
$2y$12$ls7VyEK5BsLnLw6n638D4eeGF0vxk2LFoIBsjTns/rHIqRB26NYc2
Output for 5.6.13
$2y$12$AxfAhTYbR198Pu/0azwSretcoL5E69mJWzH7eG4elukJgwEOjp93i
Output for 5.6.12
$2y$12$x3sa0xMVc.yJryteZQ2rwuFW46pQV/k2QziiOxFlfQQsElGrMNBzW
Output for 5.6.11
$2y$12$UycTU5pcFPQaGuCEGHaCyezNCNCsM8nw.k6tjMLaILyJ6cLE0Wsaq
Output for 5.6.10
$2y$12$bt3zRlF3euuSGdThfRjPkeIVDMPnDdI.OvNWT3D/hMP/irn1qm1nu
Output for 5.6.9
$2y$12$cVz3TYyy4WXPkczo60VYaOD8nbPWhEQz0w6C1ZH4tn8xtbrowieGq
Output for 5.6.8
$2y$12$Ki6ZMEPeNE3/YlGBoYyBEOiFaC7JEqa9jmrwFQ9R7QMMGBGuNorZu
Output for 5.6.7
$2y$12$trZxxz4A1yzdTz0FQZL03eToJa5R/qh1HbPpy5J2i.8pGgIKHr6Ey
Output for 5.6.6
$2y$12$N0xgKO9vMvhpJKPCtiP53elXPfCcCYIGxNkfTvMXfnYz0c0cxHXOm
Output for 5.6.5
$2y$12$ca9IJOoygrZv/dbkF/w4peig91DgCGa7eCzkSeaKrl...X/qdGGPK
Output for 5.6.4
$2y$12$kvVLnwPZ/74fnYk.Gx3mEu2os63Jnx2KMQZ9FnMgnCL.0iZxMnATm
Output for 5.6.3
$2y$12$CytCrovrH4sTqTIPa8K6aODpN41uyVbdsGUB0UlEWiKgbxkvvbC9K
Output for 5.6.2
$2y$12$nsSzqpfOc5FURlxZ0RZcb./93Gd4V.HmsbxLqDwfS17YSKyxf8ZV2
Output for 5.6.1
$2y$12$u9cfO7EPTwKyJpqMKvapUOTMtkREytSCnpT3v1V0M4VQmX0EBkgAi
Output for 5.6.0
$2y$12$26gdGY84qbEryQ0nThoKkO2XPmNn1u.UpCS/3wpkEQ1uWiMdMVhPK
Output for 5.5.38
$2y$12$RfgBTv/wFwyw7jc2PZjzTe5p/J0r/.PQiJL8HZJVggnlFuvD4Q.Xe
Output for 5.5.37
$2y$12$MAFy9e6HT05kChQWGtULtu3f2kXtsY3G5.zyapQie82iMM0rY6j0q
Output for 5.5.36
$2y$12$Lba5/tAkI7Plo3HmhZoj.OcwSQUecVKOext3QUi5kSuJlI77z1wdq
Output for 5.5.35
$2y$12$5eCIMW5AxjyE/em8T6grXeVxRrCQa/NBsPSXaggEA1siPGPXOAZlC
Output for 5.5.34
$2y$12$uPDvkLvzF./QBB6XvNbXe.PEOYKDLO/Bi11L4aaoPb2jqFtLRbO.S
Output for 5.5.33
$2y$12$gSZfgqb9duy9O0fHlmH9SOVAJ8MGTfOXJqIGyeDMK1pYzkPZAk8uu
Output for 5.5.32
$2y$12$INRdTOSEF/kOczBkT4/JzujHrC8CVq0heIY8dLiZVjpvQQeYO29sK
Output for 5.5.31
$2y$12$xB2mgWlUkOJj0ERS5DvPPuNN3KCfXwBzWsJIUarvcSV9tFDviGXge
Output for 5.5.30
$2y$12$lRnE/VfS9PSKF8vl4V/c4u.qwJGLvgFR2WrJh1FT2u0eLVzEiZ/ti
Output for 5.5.29
$2y$12$4a16lmBJTNHUEpdJqKRNnebZgdQI9CHFrXCuU4EmjNEon3dBDXOHW
Output for 5.5.28
$2y$12$H5x0rm1F4n5UkRwILMTuJuS/fsWXriWY9DoBu4g7oH9/dl/qM.ZZO
Output for 5.5.27
$2y$12$mlST6JYSh4WbUfbZKc81d.uok5vUV9ZqFhdOL7pI6sOjuAxG19Gvy
Output for 5.5.26
$2y$12$GoMKlCkdvzHHW4PTpsrPCOP1uJ3XUuJ5G0T.wawoIxBZg17l.RSO2
Output for 5.5.25
$2y$12$1KsDaW4N7rln4E25YEZU0.XZoxbSyG0Bthd9ZelgrwxvaGrmOp3vq
Output for 5.5.24
$2y$12$ovcuUaMqC8yGR7X2cqK0x.w8bU3.2aGZd2IbX8sdvcgXYzqKul.TS
Output for 5.5.23
$2y$12$0BIBlS4dFlhLXtX3eEoa0eBUI5Vl/wETIJODC/DLxYg6CD78a28hK
Output for 5.5.22
$2y$12$hrVqZX2.1vwFcfpJpLRjveC7Xp3MR/y8TLl7dCta1KzcQcpGsGrqS
Output for 5.5.21
$2y$12$HZyi64tBGJjLCd2E4kpjIu6GcTtzE.QIN9IqSoJpvEU4wn1/AdQs.
Output for 5.5.20
$2y$12$nMTU7XL0Zk15xRe25pdiu.O4.YJZzBQcpVQjppD9wGyHZYZ3Gi37.
Output for 5.5.19
$2y$12$ieE7ykiLnD4fhO3I58vfEuO9PJjCM7abpli2yWBZMun6RiuJoQ0Ji
Output for 5.5.18
$2y$12$k9WsLDGQM7zp2VoYVe6PReDZUgjGFxYF6FLu6BJvLN2UE4cS1tsBm
Output for 5.5.16
$2y$12$QhHvZ/PmM9aQNOhFbckVUONdDX6hfHCz5W9IunCRq919cNlpYbHJW
Output for 5.5.15
$2y$12$zJ44IUF3o9rZE0TkhM62re0Ky5jbzKBKfWkSzSodNDikNxuU9KZiW
Output for 5.5.14
$2y$12$SsNhiUHZ8xVmwrxcFwbuUutERFg0jhJUdqZQ8Q3OO72kZaKeO3DES
Output for 5.5.13
$2y$12$gp4XtZT9tPM/VLe3UDeJzOdqbiTIv0/s5D7U27f8rpGUIIsKZX/OS
Output for 5.5.12
$2y$12$8KkBLO7vALhH8xHGB.U5/uHExcO2zHaqu7hdV6fJi5mXQMOKg1p/q
Output for 5.5.11
$2y$12$6M5GjD/MCISLB.M3kZCJW.yyh4Ii4LxQwD2SvQRQ8CpGqHA5TYohO
Output for 5.5.10
$2y$12$e7xbaTtPJeL1bpSkdu7ZR.5rVOLjbVmJJHFgnDSR1rOQr3JDHB.lS
Output for 5.5.9
$2y$12$Sd0jqcT/kPg4KU.1YzwLmOOKzMs1gW7MEZ8fRCgRg.Nz5x9XPuhqG
Output for 5.5.8
$2y$12$Z0HQpeSd9pooAmPfx6SoMuZwPDBl1MUkXJkjfbtXpO5H6TW.Hts22
Output for 5.5.7
$2y$12$A94NkYtAzdJw8t5VaUEfe.xztmBu0hg0zNzLXHuEerLkDb3/xZc7.
Output for 5.5.6
$2y$12$rzsSZW7aYTQJ6FXP0rmxjegmVzkOP2.oF4/KMo4B0py1IaRJ9WKCe
Output for 5.5.5
$2y$12$g0e8AHZWcWeXUCo60gWwNubN8jQbQQEIgSUIJa4GLK/s3J.EQ.9Yq
Output for 5.5.4
$2y$12$JQm6pGmGaMEtC3SkXEmOH.UNLKBibyCvRA3yfVSOcQTEHeAdTdIO6
Output for 5.5.3
$2y$12$2a4HFzULu60e9JESlUk2VOUGueKXjriqVvjCV51pARXuwBd4rloTi
Output for 5.5.2
$2y$12$9788Khj3vfwVy.04QxVH6uDzxbflwttMiXvpQey/Esg9/5hmhtqIC
Output for 5.5.1
$2y$12$IYNm3RDsjFt.DVkdel2.FuMw74Qp7PQMSne29xysWkSgKLgxTYRLu
Output for 5.5.0
$2y$12$0OMthVuVFX6G7NX08R7Xou2JzHBdWoX5bYDOqDT7VFsYpbMMBJwFa
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/O9lkp on line 3
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/O9lkp on line 3
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/O9lkp on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/O9lkp on line 3
Process exited with code 255.