3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo json_encode(password_hash(1,PASSWORD_DEFAULT));
Output for 7.1.0
"$2y$10$neMNfyslj0VaHgNzg5ESAeSGFEX6hQ0Y6WORWI8l1jHQHtm9krojm"
Output for 7.0.14
"$2y$10$q4WLP2NvusS\/PK1D8QGUY.KkIBlEkourLi5w1Hs8ipKNTszrMOuYa"
Output for 7.0.9
"$2y$10$cLe5yG9zICTDetFClHdn1uYGYWr1myRmj34lERh0l2WdByshAzE5W"
Output for 7.0.8
"$2y$10$pWJvr4UFtfDl5FNmbxdH..2JLonQEzrfcWPLHRkct77PzCVbH8aPi"
Output for 7.0.7
"$2y$10$ls4wmiGKZ2ObYCCslPhu6.Rt4CHQCfA6W7O7yjnxeCc1wusukbVx."
Output for 7.0.6
"$2y$10$pn1rvsjli\/0M2HsYJixj2ung6DqlGqzbYUmMb7giC3Fp\/GBp\/oVDe"
Output for 7.0.5
"$2y$10$6a.lqDHDy2vEYu.N9sfsU.694ukb0Xyp6\/gODIZYmEjgaE\/ZCNhqS"
Output for 7.0.4
"$2y$10$nD3l0Q0bnHlZ4mUHSPq11uu8DhRpS6OPMmkSaeUuXcAAmY\/Eoqyjq"
Output for 7.0.3
"$2y$10$\/kMHW4I2puhMZwLEY8kfcOs6CcwytH00xrKrekGgbDgVQZLCTuh6S"
Output for 7.0.2
"$2y$10$zHa63X2FOkh8bbYgoywXu.0cylI2Hyq3sg\/Jdn9zbhb2RHtobS2qC"
Output for 7.0.1
"$2y$10$9ItdUp88KteFCWlc6xCjAuApyUPMAt\/\/Bpo9UrM8YXtK6brNm\/xu6"
Output for 7.0.0
"$2y$10$LMeGr3v3SQ0lG0P7Y4fefO.VB3ITaC64CDVgEdaV15KlrhqNFdrsS"
Output for hhvm-3.10.0 - 3.12.0
Catchable fatal error: Argument 1 to password_hash() must be of type ?string, int given in /in/mVIuq on line 3
Process exited with code 255.
Output for 5.6.28
"$2y$10$15tzG3d7fku9z6G4PwnB0u1pIvXGxzfvrrpWM3NVIV3HblppYABq6"
Output for 5.6.24
"$2y$10$pYFLb5.\/\/904tfZcxqmJjuUf51uJGSVeBPmMgGOCJSXHsZ5CXz1bq"
Output for 5.6.23
"$2y$10$WvK97\/avgZ3TK4dGcKZzAeP0L7luOh6eTR1JafgNZQ.sF3GX20hzW"
Output for 5.6.22
"$2y$10$5Uy2J8BZJBFeouX4R2wuRuZTe8VR12bV1fuDzEHOZifaVOSVwu7hS"
Output for 5.6.21
"$2y$10$qwdhFDRhCGzIkZWlH3jaPeOrHx4zDkbv2nxiwbLBsBCHVYFpVVORK"
Output for 5.6.20
"$2y$10$Wgvn5ALT8SERfba0ENl2EeEbjlmB2yI95vuMG1Uo2QFKRBXsfPJpS"
Output for 5.6.19
"$2y$10$TdNXAMEshh5fcutr0nfk2.gj9ifrYj935rQ4X8qBiakDIxztMQWVi"
Output for 5.6.18
"$2y$10$YFSbvwWLdwauE8oq.gcPyuIY0gzjchFAXUJWN9LLdUVP8SALONL5C"
Output for 5.6.17
"$2y$10$FRwFYqRxPJWcKTtmu9Uq\/OFGDN2DLHr1WUpeV8lVts6AIBUQhF7UO"
Output for 5.6.16
"$2y$10$bDgtPRdTY5ZDHhvrcGv\/s..BbnD7ovZTWSE23gNPiqqlRaJWLQ2ey"
Output for 5.6.15
"$2y$10$\/p35Ja6fo1OJicF6rKPmYOsROzqNX39ShOZQECvcpx5X.sF0DewPq"
Output for 5.6.14
"$2y$10$gZ7zd9\/JSahs1UfAa32bo.ZlAEW.WEzTF3vItSdTBiItp7XyyWIPK"
Output for 5.6.13
"$2y$10$ct4u93W79o67FdXtt\/XvSuyJHntvEhTYDm8DcfMmfZjYy9yPZT31G"
Output for 5.6.12
"$2y$10$vxT8Jkb1LZCH4VGQCEe7cOh4hDOpTg5gtxHSStu2ovljtk1faCGS6"
Output for 5.6.11
"$2y$10$CdgB.mOnY37OIhsBtCgZCe5RT4mbCSZejVDRxx1T6yT\/IWcknbYBi"
Output for 5.6.10
"$2y$10$I6etTegGAUB4K29xBm.o4.YK4iKIPFGw6bwgblkbtXAluAqroTYHO"
Output for 5.6.9
"$2y$10$i1gcTiIBYRu620l1VW0sveGpljWLWs1CpgcGqWdbaln\/F.NiHClW6"
Output for 5.6.8
"$2y$10$UMOs1y\/E.IYshM7G.7e7ue97MPQx9BE8vSwG3mu202WHHnjb.ltSW"
Output for 5.6.7
"$2y$10$VKUz6lI9jbbPnUYjrn1uTulnLWXd2rUTTucyvAeLFhTd8TPvCbbn6"
Output for 5.6.6
"$2y$10$MNKOXXF6WBDC2g6ULcowFOD1lUdjSRdIOcxwDvbd\/9F1mp9yttv4i"
Output for 5.6.5
"$2y$10$93m500IMCk\/t\/9KaToJtb.2yZCRp9Wcd0AxBmRDv.8REIYA0Ks4A."
Output for 5.6.4
"$2y$10$NPFfi7NXx7Fo04bFUtdxUOUSxIjTc\/rq4e9Up6ezNU5BHksrsxKae"
Output for 5.6.3
"$2y$10$3DMDSjsya6GkKirLtM12Z.fpWToXASw29u.ZGDjsCdv8oJbtUzGfi"
Output for 5.6.2
"$2y$10$CsHNj6xQAN.ZP1nWTgDgFONQZgTH2HZCKaDM1mSlSY2z7P64gxQx6"
Output for 5.6.1
"$2y$10$GOQqO9JyaP7GJjdtShnaP.sAPCmGmOeY2xtuSA.KrRUsH.IWmhZUG"
Output for 5.6.0
"$2y$10$vYns3TsisCmAAVIVK9Zn7eeYhxX\/xVHf7EzW3uYaWlpcUOe\/\/6n\/u"
Output for 5.5.38
"$2y$10$QjhkE8Y8vLSER.cttaUXF.xwFPWW2\/uTVGshSUv.GbpqiJMOyq0sq"
Output for 5.5.37
"$2y$10$eIemkjyFzyfm8Nu5QyBBkOHMnkTFrfQcH.iOIzdJZkeHbNULXdbqm"
Output for 5.5.36
"$2y$10$Hl0Q6OH82oMxAnMLn2vKWev3H3cjALqhFEv\/v\/O5GWmw3znQFDYAm"
Output for 5.5.35
"$2y$10$97jZ3AUT9gxomaLxyrjKW.\/eYgjb2LrMO\/6.\/3mhZLXdLt3LZPTVu"
Output for 5.5.34
"$2y$10$2DA00IEPhlmh1vb2zOMql.OCe3HgwfpTGpEOxhbpA2gHySxuKUd6K"
Output for 5.5.33
"$2y$10$gNEmug8xgf3e7ugEG0bQzOpYEW4AVN7NO9PmcdmV8L2y56W4smSdC"
Output for 5.5.32
"$2y$10$yxLHHnktCgUxQ.eVCcIjieDZn93AOwtBx8tBhSWa02BxmRWlHEFf."
Output for 5.5.31
"$2y$10$5QCQm3LQLwxxyjX\/gPjjoe7DksEmY9596rD5v8KWEjoMp8enW5Qs."
Output for 5.5.30
"$2y$10$VzJWE0r.v5RAQQey13RMS.OFJueHneNd9gBd72387pE7MYW4aToly"
Output for 5.5.29
"$2y$10$yjpMYx.ycyZA3x6a27a5SOj6rC\/RamAPOsX0S5DfDwhbEr2iFr4oS"
Output for 5.5.28
"$2y$10$KazufP4.lSsaWvHUHS727OUPl9rFzR7NvIdl6BjQCXDBS2p3UU2MW"
Output for 5.5.27
"$2y$10$fHoU6qGsLs4e6\/MdbxLyyu9RvagIryZrGmv1mtPM3ppy8BGc9PrUi"
Output for 5.5.26
"$2y$10$W5lHTlZ\/kjLu0WScAkQd2OiQ6gy1zC6I8Jlpr0BDiU\/M7wtBJ7M.G"
Output for 5.5.25
"$2y$10$hO68oV2QSNJuZgm9gBr9te5n80EamCdjOL9jglLR32z4FePwxpSxq"
Output for 5.5.24
"$2y$10$Dqt1\/pplsdSe9eYHh8uxCOZqwTFZetenUUiZboFly.i4scRidy81i"
Output for 5.5.23
"$2y$10$QHN8GO4LVSVJOCbbtrm57.puhobrCaoD8XFvMnhaMkmdBYJGRmbXa"
Output for 5.5.22
"$2y$10$d2qsRv39lBK1ffHUOu\/DMelIp3UBNf3GSUZ2lCKECtGOHmrlcS2GC"
Output for 5.5.21
"$2y$10$goZeXEuKBK1yhorrh3uYa.CFhQDPJhVk7DDT\/SoTR6bMFjGf\/\/DY6"
Output for 5.5.20
"$2y$10$8DYvpCXFSDjL6CBUqxWG.uFqiwR84cC2cqQIJDVoJ.ML.NaxtWS9."
Output for 5.5.19
"$2y$10$M.cafqPuf1pKJmpp3IJdW.Gn9YWDo4JASgNcR648cWWFrD5AJWZoa"
Output for 5.5.18
"$2y$10$N5vCcs14aVtIoJO9zN2mpe6zQyo4nvR6NZ5H6IzU6.kX6Jx4Wqlqe"
Output for 5.5.16
"$2y$10$W1fKLO3Nj\/XZ7Y6NHs5KperhkEOvC6r2kWAqoMFXTejfPAyueNv2e"
Output for 5.5.15
"$2y$10$QGh6Tc5NjHtoTd80KzUxQ.952ivaPBSAMcYw0Iu\/cSFJMfnkWZala"
Output for 5.5.14
"$2y$10$VLHR0GTeRGPztdevCoRmKuyIxq.O5aANnCBc28GmdvaeCNpCz0KAe"
Output for 5.5.13
"$2y$10$dYmqlq4Q6jnVxEhUw6whzOS1YrfaAGTwvelTlpN98vvfomwSzHRsm"
Output for 5.5.12
"$2y$10$B3TSeSwy7\/ICOc2P9AhCi.naqO2S3ahM.\/hnTDH4KcszmXsbiaQl6"
Output for 5.5.11
"$2y$10$MF.QmSxMY2cVFNI4SJoDaOAriZv08pfpjIifaJtwWPKA\/1DNBcM8C"
Output for 5.5.10
"$2y$10$Mikoh1yl99D5BYlsN2xNqeEQQzmhnXDsfPRt8WzzTkT7RpmvaNQ8q"
Output for 5.5.9
"$2y$10$fqCQCQpMzecBKFOvaCKVp.0CSL7QWxBu3wPUEk9QTVxmJ5hHuytc."
Output for 5.5.8
"$2y$10$7HHRJidmAQMvJqrHLj3lnefP7a\/nN51x9ve\/SLl0H5vXrqe9d69CG"
Output for 5.5.7
"$2y$10$knTRg3lyIyOSHBmwI5hph.bhVnpIJY\/Se4kTyGs7vaMsEnXePB0EK"
Output for 5.5.6
"$2y$10$cPmT.qJNSlnbpZkOsiSAVu7YvUe4CQggP0WU8iFE3yhnVvpNyuf0G"
Output for 5.5.5
"$2y$10$WOoh9kS\/GCsAqJLy2jmFyOwkUMnUF4ZfL6.OeVaiSbT3.wYrodhB2"
Output for 5.5.4
"$2y$10$tEOzl8Rb0YQd29uVhz1rTeQlKYjlcP\/9FoL\/PDRDmWslcDb17QrOG"
Output for 5.5.3
"$2y$10$J\/Tp8M7r5P3XkogHgc95c.LiqLePWV2VfvcxJDfpONrycP\/LT1ZIy"
Output for 5.5.2
"$2y$10$xGn8TPhiYC7M2kYFFnIFO.R9YZ3QxjF4DEgkuvuaMZ61Jn5Ih6YQa"
Output for 5.5.1
"$2y$10$Jp5ipDbphrFl6\/udnO7gb.f6l4TXMemq\/QNMSb4QrpodGs652E1Na"
Output for 5.5.0
"$2y$10$OHP9DUhWDxyrRZSoRVEGFeB9T9GChOwl4pmxsjoON482Vt0ReDrei"
Output for 5.2.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/mVIuq on line 3
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/mVIuq on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/mVIuq on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/mVIuq on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/mVIuq on line 3