3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function generateHash($password) { if (defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH) { $salt = '$2y$11$' . substr(md5(uniqid(rand(), true)), 0, 22); return crypt($password, $salt); } } echo generateHash('a');
Output for 7.1.0
$2y$11$ab0cc57da88878c2b0e9du86CMxLhyR0AF8ci1EmC3E1Uo8NryMta
Output for 7.0.14
$2y$11$7ff15be2fd562ba994353OeIip241qFyGjcY65AGH1UuS1iqAmmdi
Output for 7.0.6
$2y$11$ccb80ad0e59319858396feya95zzsn5NB.p4u/crUaf96vXpVUpyG
Output for 7.0.5
$2y$11$e43ef3024bde6b4f63fecOSEmX6f1Pyuoj0aRBaVP5l9IBzDSa2k6
Output for 7.0.4
$2y$11$cefe73901ecd93d0be6feOrS5AbHQxA8KbIyD2XzvFS4N/txG8/M.
Output for 7.0.3
$2y$11$ba2342e61e79e73b54587eFxoXYznHR4doQ4mR03hUt8fZEo8IGv.
Output for 7.0.2
$2y$11$8543af3bc52ee7dbc867cuahxIEBGZ2UyoYQQ5L.arl27/qV2wv3C
Output for 7.0.1
$2y$11$55a035c2d8f9e2e172c6auWqnxV/8rTPagaLFb9TppYIYtMI.BUs2
Output for 7.0.0
$2y$11$b75d460e967203e18b2b4ujkugIFoWVhrBj0Et9p2XSb1oSkY5FgK
Output for hhvm-3.12.0
$2y$11$08a135eebc472673b50daurP0gZ9KXDi3xWl2e/Hcr4/BDTEaVLDy
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
$2y$11$5335963f0510da26303b2OXGOH7IL9fknMbQ4KX6lr5.dJMesNdY6
Output for 5.6.21
$2y$11$3067851607ebea8837901uKsUqR9HTvGQnGSCuUrOnegaIllOI81G
Output for 5.6.20
$2y$11$6405a55a63b4f65a7e3e6umRppETYx/1IdoSZTqvRoEo8UM67uo46
Output for 5.6.19
$2y$11$b428c6b4b55ec92059982u5UjjjsDw0vnluyioPf8RGfF2fKbrSyO
Output for 5.6.18
$2y$11$3464e851bb19609dd2e49OItFRrq8pKaSWLWL1UX74EI4J5GuisVS
Output for 5.6.17
$2y$11$31fe15cdf96fdc0af5e2euuPyHAGwQJPzQEm/MlVFjvTg27Pgfecm
Output for 5.6.16
$2y$11$63753ee64648c3fba6e09O.UhuzbYsX.zyqjh8QghVE/R2wAk8MD6
Output for 5.6.15
$2y$11$a846cf3b4e649effa9833OF/WotTR5xm5WyUJ./EVs7i4Vc2vX3uG
Output for 5.6.14
$2y$11$cf84eefe405d7b2e7b1f7Ox0bpS1i4LpXAWRL7rd55VbT3wwehBgK
Output for 5.6.13
$2y$11$d84c7ee027a74e76e5bd0u0.74KHWlPIgAJ1dO7cdN73xzYGpKicu
Output for 5.6.12
$2y$11$b913da03532cb64b37229uY/za43Q.f3j9wiCfFRTYX2IZNM7ZENS
Output for 5.6.11
$2y$11$c132689c208c7362ec153O8tLIuT7iFdDDqgIJAeWDqEiOedYdPem
Output for 5.6.10
$2y$11$8ecdd1950a876d5641c82O6oY.3fE/tN.E5kYQray2KR2K8XhifVq
Output for 5.6.9
$2y$11$dd5ae99f48a36c4de4572enqDcD4E3YpzmGYQZnRA/q8kjcnUEEcu
Output for 5.6.8
$2y$11$b1a6899274c4c327fdf47OBDegrjd/KdvjCpc8hmYLhwueLkDrszm
Output for 5.5.35
$2y$11$52895eb5595c47d5253dcOs.MLR4qvIdY6BpD1lpyWc5kEO5Jd3dS
Output for 5.5.34
$2y$11$a0d5d0c6be87d12ad5617OhLeIoFbmQczZdiJ7FZjFb8enEVnAjzK
Output for 5.5.33
$2y$11$d2e6d2b8c8bfa20913edbuAxPkLaXhLwuiBN.c2F2HosvUGc7P7vi
Output for 5.5.32
$2y$11$81f89b1661178ecace90cuf0OtrE9ZjFuVS7O1zvPSkN573MgXLFO
Output for 5.5.31
$2y$11$eea9c0886e562dae57d33uhYemDgwTjYPc3UzVtIbtbWr1Y9RaGa.
Output for 5.5.30
$2y$11$a83898aa12eab6a2acc34u8AH2SvIDyUSth1n1icwndbjxZIvVd5O
Output for 5.5.29
$2y$11$5843bbc5e228247bee8a6u8A6rix6m2ZGRltuPQ2tp1ctQtbnMOse
Output for 5.5.28
$2y$11$e9d32fef6f6a498a8a650eLNwuisHQTWPL2J/NCWnjSBTroXBNbCS
Output for 5.5.27
$2y$11$af36547388f50f7a0bfe3evpO/vM9CcJwEIHvqY70maIfEAC1zV6C
Output for 5.5.26
$2y$11$5fa3c3c29d3f3b3214ee1OhC9bzpMqyCAjbS8fqQwXb1YvL6iMCeu
Output for 5.5.25
$2y$11$2a228696479c011f88090OmNZveyahHdX8rVg/sYHBnkmZaZTzL7W
Output for 5.5.24
$2y$11$4e79a3cb6f93baa044381u5HJhB4OrMHzYmpV27wujg8UWVm43lrq
Output for 5.4.45
$2y$11$8aaff71ace96520515bd0utvS5cTUqjdMCRPsZuQQnfctsAab17NW
Output for 5.4.44
$2y$11$b7617292fd2da0b0b900funSHreEY9Px8gDXbZEMXDiUlEnTffcm6
Output for 5.4.43
$2y$11$5f5a66a7834a952d672dauvdKFucT4vWsdNILSk9jn2MrGhYLN5Y.
Output for 5.4.42
$2y$11$c91c450dd95d3345d9e86OFBtPeoTXSqrBfY6IBkgr5n/2WlV3BXS
Output for 5.4.41
$2y$11$3ac6c79bdc89a211f0c18uicoBAISCkwP79J55n9Dy9uBbf7VrCtm
Output for 5.4.40
$2y$11$9faffb40185105b754bf2uMKN4fylLqLDxo1y6TJGnDs9zFXuH0pq
Output for 5.4.39
$2y$11$7834a41acc513476a06f4uQqKwfmZ/NeJgcXuRFN6MTeJSZgZ1T8u
Output for 5.4.38
$2y$11$d49bd63d7c2648563b3c5eL9evxamm.l1jZcxiPiKDQY4ZDLOOXhW
Output for 5.4.37
$2y$11$8672baf5d66fdac36f0a4OpKoy5pX0VmyQhGUNgY65gl7IVFIHvgq
Output for 5.4.36
$2y$11$ebb520753a76ee41d4689Oh45DM75FDS9a3HZkEZj/3VKBxfZl1yO
Output for 5.4.35
$2y$11$15e678cf058bce724983bendN1boqknXSGplUrQnuHyG.cLg2fkuK
Output for 5.4.34
$2y$11$3a8410907ec2927dd52f8uQxg7dYgf.CHKbnTeTdZ1PHK5.lsVLmO
Output for 5.4.32
$2y$11$5fa779a06e484a3624f77eR0sjk1gu1Tpqzw8gihzspIx0mSylCke
Output for 5.4.31
$2y$11$44822cdac028558a7a3b9utgPJuBxetmjmhh4u1ExmhY.Pa5EWts.
Output for 5.4.30
$2y$11$bc1b5efebe534d45a1e74uOYQWvIeYJoCNYDlyCjysXuoiTRAC0yy
Output for 5.4.29
$2y$11$833e11e622262af470af1Ort3hLfXwsUI5AcpnZMEq1479GRRuOJq
Output for 5.4.28
$2y$11$e380c81c248fef70141c5u68aKU18yHqnHR6zjkZURQSf.S1pQxZu
Output for 5.4.27
$2y$11$709b4563020465ebefe21eEQl1kba/Ob2dSKS6bE1Pt4d4sfIEqZu
Output for 5.4.26
$2y$11$ac85a84310cd8913a0d11eAjwIx.ytjQzyUPoecc.9oRCWDYzWIye
Output for 5.4.25
$2y$11$2f82adabe1d6fd0e9c270eH4YgrogkuoOwQbs8BAkU4YKzdUhv4fm
Output for 5.4.24
$2y$11$c2fbd5f50d4031f46345cuqiWUShqCGmC3KajutFsMKPc/Rxcq2AO
Output for 5.4.23
$2y$11$a6c3e143e9200ca0e7a40u.ayUze48caImYG7vzlmOeucyiwvmPyq
Output for 5.4.22
$2y$11$31eef0ef52b5cdedebdb3OcEyk62X33TbAju2Ipo/9oBumCkrxkZi
Output for 5.4.21
$2y$11$36312501d66e172b7c0d2u/Fhjm3zlPBU1urDjTgWAEXzNofN2H66
Output for 5.4.20
$2y$11$23b1c429b9449f57846c8u3tcbGhF4o1TSxsfGBL7JpzCikftY7gW
Output for 5.4.19
$2y$11$b7fb82bfa40714588445euU9x86wGXJcJnK32.NJw/3jr2hxyhCL2
Output for 5.4.18
$2y$11$6a7ab2946bf5f89ff00cdu9VRBvud6Gy7n29tU21gnOtA6OZcqXWm
Output for 5.4.17
$2y$11$ecbfeab36d79cac5b2171uFwMWW2lcLUTnBAKTteAIpzXfHcIwps6
Output for 5.4.16
$2y$11$d69f2f43092726ac8d128O0kpERcXDvlfAs7fxbNx77mDwx0xE.bi
Output for 5.4.15
$2y$11$aeaf5bba0744296a9e484udGDkEb7C4qqwUdvC0qXncnRE.1J5vhS
Output for 5.4.14
$2y$11$bc0357ff73b174d2eeb21uhINVau2WaU/OJR4/Gp7V6QKcjJbjaTm
Output for 5.4.13
$2y$11$1799bb36178e4ace4afaeucFH0FKzNEo6Gj/j4EVxvxrZnBrfMvei
Output for 5.4.12
$2y$11$586467b1e90a692b428b1urkD.PUMx.iKUJqo6MRKUDmkjAEEMvCa
Output for 5.4.11
$2y$11$b5c6f6c59571d559c9bc4u7TzdET25l0tFj.mCHUtooS3GMRHAtSy
Output for 5.4.10
$2y$11$c6c3db8e018b7775b089buFJDcGbUGtzoaTpdrpImpOq4jvBkEIlu
Output for 5.4.9
$2y$11$ac03e3e617bb9cc6ea830up5OoCLAszqEO58dodMFnDN3QzErG7CO
Output for 5.4.8
$2y$11$64989606ce3e8229382d5upk.ZN5kJMJZsl.xttKCIbDxdBKPYTq.
Output for 5.4.7
$2y$11$cf48133e311f95d9af4d8uWtYm17MPP3JPNaiPr../RvxNQCsmsai
Output for 5.4.6
$2y$11$cec69c85fe678aed77121u1yo8PHG//17VxAaFMGKaXoW8n1ZMoXa
Output for 5.4.5
$2y$11$f35c0f8e3b4d210e05236eO9yFGUsTUJwNzj1XdXi.IBFALr4SzMm
Output for 5.4.4
$2y$11$857cc85f0e6386e3f131eupLM5WO3rPpsDbMVnSrl1xLV2K2Km7Um
Output for 5.4.3
$2y$11$3c8cf9d28366666fa5859uR.ULTUCd3hLqzaJn01vHs9ljMynRjM2
Output for 5.4.2
$2y$11$db842a824ee18bd478580uc/JOdDRqebbJMYztzxlvQIbj7WnDdmu
Output for 5.4.1
$2y$11$caf1a7652a20bb3ebf433u6i6vYidoA6IWnZnWs4brvK77QC88TvO
Output for 5.4.0
$2y$11$4b06e616fcedb086792d9OSLarBzeA9Tcn7R6qqBk9uoxUkGmOOF6
Output for 5.3.29
$2y$11$afb8d82598a3167cb8bf7OELFq7afpDcgZJXtXLmD1Wietx3/IK0q
Output for 5.3.28
$2y$11$f33e3b9b6cacd2d36db6fuzS94pW0yDOQ/w/bglYahFebOKYcdjGO
Output for 5.3.27
$2y$11$a16361a084710af5511d9uLo9AL29OWrWjjcFMnCIVNG3yS43pMT6
Output for 5.3.26
$2y$11$2cd6338c2c6b574647179u47KgvoHRRoaLgtv0QilEW6BxX0Cdcae
Output for 5.3.25
$2y$11$116f335b8dfa93495e7e6uXCi7AY0vG0wbq5Fj.nVQzYLWAnF4zJm
Output for 5.3.24
$2y$11$9721f2d00cf4e1273030euJeStxfXSkbPZTb0wN62cO/4ZpR2PRBC
Output for 5.3.23
$2y$11$ab040d7a69e8b281c2491eEAVvUF4IAcuvKphhszch74zZqYhsooG
Output for 5.3.22
$2y$11$390955e82f6ef56efd584ug7AqLSS.074m1NWvQC81JImotovuwfG
Output for 5.3.21
$2y$11$15df8117fe54abed27bffuR06UeqDZwCdBslZxsFY64zJIa6qntNO
Output for 5.3.20
$2y$11$2dd28f4bbc1990220440auXkYVPa5LTRo3xPrZpOCmcZS3MObJrwO
Output for 5.3.19
$2y$11$ea246a6324f0c9194b4e9u1r7.t1dpSrgTxQ1ofmG7aD2FTscv5Uu
Output for 5.3.18
$2y$11$299772e0930ad7189549auyOPts8VWWbCy7eO93s1/Nu.A4fsLIEy
Output for 5.3.17
$2y$11$221ae641231b97d8fe73buS.CsfS90n8u7vFxX64V6I8rHCsTUUHK
Output for 5.3.16
$2y$11$a59fe09e4057808b4347duE.bcr8V6p5CGf91YfSM3jSbG8SZPl6e
Output for 5.3.15
$2y$11$f33e32510a4bd78e9ae4cOB8Ca.T.zOYoGjeJVTmb1zLcCuWgH3Aa
Output for 5.3.14
$2y$11$32b7df57f593f050b334euR1nOtFnnnjVey95h1iLxBJ1CVIwglTa
Output for 5.3.13
$2y$11$54d91d20b0ce78294cb0fuZlL7HyfvIkjZCEc/ZpFvCbNqkh9Mgwa
Output for 5.3.12
$2y$11$e731ab13b6d8703d48c65u/cNPnlUmVjYSRJ4VnQHZgelh2k6fxUK
Output for 5.3.11
$2y$11$424518c9317e41f1b25bfu9CIWxd39rkY9xbkfm9AHfNNoQ6dyGEG
Output for 5.3.10
$2y$11$ae71c7d637569e4152eb7ueh/DcA/wsou.m24CQ69GIq.oFzOaxHO
Output for 5.3.9
$2y$11$e12abfb5129f21c773ccau.qIZ/pnjk2O9MXh6OnnXUhuk66s0Drm
Output for 5.3.8
$2y$11$7bdc620c1953be8f037c9OAWtGJ96kf5V1oZ.I/2kR50T225NrN4i
Output for 5.3.7
$2y$11$067344c962a8c5fc962c0umoaVearFSIxMIy5tMZogwPdMaHwZkmq
Output for 5.3.2 - 5.3.6
$2V3qOC70ekLE
Output for 5.3.0 - 5.3.1
$23vsku5i7HPE
Output for 4.3.0 - 5.2.17