3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startTime = microtime(TRUE); $password='test'; $cost=13; $hash=password_hash($password, PASSWORD_DEFAULT, array('cost' => $cost)); password_verify($password,$hash); $endTime = microtime(TRUE); $time = $endTime - $startTime; echo $time; echo $hash;
Output for 7.3.1
0.98952102661133$2y$13$xnljpkXessmUR1lO6dGOnOLsDdbCr4N66KvE5emB/BbXEugCCkACm
Output for 7.3.0
0.95552587509155$2y$13$70zBPGHg185gYoejPs5PEuLDNYkpIGCq0keSm/FzPXE9j7hfG2c9e
Output for 7.2.13
0.93917894363403$2y$13$dwFzgrNhpJxGti.kVxTfzuLyq70JFu9pR3ZeBFyIAJbuZlXwCe4.y
Output for 7.2.12
0.95685791969299$2y$13$m.b1w/zmbWEU9POF8kLYZevRXymNmx1HZ4aqMQgyNdtu7i3I0ld8K
Output for 7.2.11
0.93735313415527$2y$13$xY7Mli78E8FTw6M7wJzjuOrjQo9GgwIGCYKSFrHP.sLrl0DK86c6q
Output for 7.2.10
0.95590114593506$2y$13$8LiW1e/m7.a4Tf/89KTloe9ocHTKfJRPoxdQJp8s/DBv5mh69zu8e
Output for 7.2.9
0.94424414634705$2y$13$Oz.xLaxzWvaXZ2ht/fz8B.oguHiCTo2.RRZb60g69GJiW29pzTneS
Output for 7.2.8
0.96205401420593$2y$13$amhwVj6oqHLIRcON5HCUeurBNEbqMvKxZhxR.3dcoIbjorvuKHAfK
Output for 7.2.7
0.956787109375$2y$13$h4Ssus4.yUOOpSTRKyLkmeheOtWIA8GHNqxXyD2aEXJIBKGRPFwzu
Output for 7.2.6
0.9417200088501$2y$13$oafeY41vu2k6EyMJ0OPEbeUfj04h2W1OrapBwuiESI9EvmbpErWNi
Output for 7.2.5
0.95868992805481$2y$13$DTNiZop5QN9nYypMY5J5R.I/cIQuFDodk/lFZuy3jpxzMKd81g7I.
Output for 7.2.4
0.94039702415466$2y$13$CxBqYzT8K2FdHetBchqVVeVM8XEHfw98IlfS3vZIqWs/dnWMG/vue
Output for 7.2.3
0.96863889694214$2y$13$/duoV4RwqbvNqeWyyzs4yeV33MYRb4atuXAnzWl.Us9HhkynmD3DO
Output for 7.2.2
0.9455931186676$2y$13$2YhZ2QyJb0UfFfDwoDeg0.I2mARgSSqJ2oWZ/XaSYeWB6sbqZ1CZC
Output for 7.2.1
0.94874691963196$2y$13$ljLVozU7GFuvPDX1iAV/xeMDpl4FCrDTsXLOm80B6zpZXd7K2AP3i
Output for 7.2.0
0.94268608093262$2y$13$qoVKU5QC5P6DR2hHPxF2G.Hdh7eBAdLX3AG1AasBowdktjbXL52cu
Output for 7.1.25
0.95663285255432$2y$13$GFLOtaYtgjPCxLfVY7YiR.JfBdYbkg489QJUKBNxR2PxxC9LpDYCa
Output for 7.1.7
0.95284795761108$2y$13$879N5PQZayVRFLSs6eBxheXWVgXBf27I1tc.9NPn3fUh1q0Tk9Vte
Output for 7.1.6
1.0278959274292$2y$13$nI3XJhXqZwBd82dYRLlG4uvm4eIrskhyYmEIN576RNaPZW3BOxud.
Output for 7.1.5
0.95772790908813$2y$13$OpUpumcKh7HtMXyFmxMB0eoOKE0IAVPf81Y1QZIen3Mg/ajKJJ9Q6
Output for 7.1.4
0.95743203163147$2y$13$eqBfknK6NbQI3sHa4t7prOddw205nxIyeJJIvAj7RoOeD.cHpnXVq
Output for 7.1.3
0.96046090126038$2y$13$lPVB.A9bMbIJ/SbpZj5raujtvckB8nxG.NZgOvOK3/3DdWE4FaEq2
Output for 7.1.2
0.98629784584045$2y$13$brYc1Lev8z9AqBNQTmYi6.g7r0MjMC1Wt3K3O71BQeYd1tQ7OzAw6
Output for 7.1.1
0.9557900428772$2y$13$RSyOgBjryCWHr/AoEz33t.G1uD4kCx7w49AoOJT5PI42DUNxU9AbC
Output for 7.1.0
1.0344421863556$2y$13$M.yHewMDpKN.U38oibEG0Ol85yD13gguKGTnRK.cVt7gPamEcC2u.
Output for 7.0.20
1.0410990715027$2y$13$43V1A98hGASk0COlEtW5SuynmDYkZKDlSxhfxyEApsGsOmidf4Eby
Output for 7.0.19
0.99669098854065$2y$13$1z6de3UTBWfULLwTPHLK5.UQmC8K5kxDWKQ7SPbNO4AwuTRFM/jX2
Output for 7.0.18
0.95117902755737$2y$13$mYDpnpyIhKIVpdocnE1zqOVJs0V85J1zbOyX.HgmuFTSrJkfbwGVC
Output for 7.0.17
0.99790692329407$2y$13$aRSlDfeVhqZx2dhMCEGo2.c/7fYB5BIHKkGiKN63NvgpOYtAdbmlu
Output for 7.0.16
0.94531083106995$2y$13$DPKlupLDcAb3IzaPdgrhkuKaCQ1oW1Gw.yxmvEusty8.BySd873AC
Output for 7.0.15
0.94261693954468$2y$13$FxAu2CcfNhTWSmLr.Bpqx.Yr6yVnh8DiJ7iXujdOHfb94ySD3yzSq
Output for 7.0.14
0.96026587486267$2y$13$YtjUpQdmIk1jR0x/M/mCn..yYBBji/SV9J8PlhuAwHB0L/68xY8BK
Output for 7.0.13
0.97773313522339$2y$13$NVlCy6qAZMbO7/nE311Kb.xc5OHz1iNmzDS0aTPHHCLnU5rOQpIz6
Output for 7.0.12
0.94392490386963$2y$13$qUA7VaZvVDbA2OPrQ9yweusML2fxwSqa4XLXAZ6iPBP45E.h.yAY6
Output for 7.0.11
0.93713092803955$2y$13$72Wf4YSYTeM1nWNFMoV9kusJE4FgkZT2ePpI0fExFhuPtVMuGKK9C
Output for 7.0.10
0.95965099334717$2y$13$Cr9nR4ZyrlopPC5/vZATPOQsmIUYmwIPxu0BsQan7W2X8osqmbTza
Output for 7.0.9
0.94220113754272$2y$13$HvQfLrQBH8rUSSi7DlqoJ.luFr2pLgwl5qKx1PYkxjddWG2dBDuMa
Output for 7.0.8
1.0007939338684$2y$13$BXT9LTUDDy.XZI4WsLt0wOZzsgWxGN0/ws5yIfcuyrgoKjgh4md3a
Output for 7.0.7
0.94045805931091$2y$13$DZewOttS8AeGIL.frTGMuekoxVpuORNZccsMILZwBiC8EtMP.12sy
Output for 7.0.6
0.96023511886597$2y$13$wcYlUDhO5brIMUg7WUaZSeXngNbb4dZD3wtM3sd8LNJ9u5/MdHfG.
Output for 7.0.5
0.9522430896759$2y$13$dLaZ3ia5nwVWwCJ/ojrONewd7EGH8AnEoFTKnc9bJYqXTy1hAFasC
Output for 7.0.4
0.98591995239258$2y$13$hEDijVZoYcEkwfmCCppFoe6Ik7Zyew5IuZgJ58tyWjRzZsJ9ijcIi
Output for 7.0.3
0.96107888221741$2y$13$Hd6dkFXdCOr0iU8.kUgutuvUhcB7alTTd0.ITgcV6V5XMA8LOue8y
Output for 7.0.2
0.93759989738464$2y$13$1En4Cgn9UhFyu4NdADxxqeQv26PHJ29Jk.lYgXJfQw7kc//wQPfw2
Output for 7.0.1
1.0083811283112$2y$13$oVJlXrSWseWYU.dOGqCL8exoAEcTLyP1uIVxBml4eRe/xPs2BDHhe
Output for 7.0.0
0.97723197937012$2y$13$zD/U4VWPzvZYw1KP6afU7un4dFJx9bpITo1g6udXVTH8f7wL1Pqne
Output for 5.6.30
0.96289777755737$2y$13$.8nPUrqnJeCnkN5MzXA/8ulQ7RPdsp7IEh8qjeFeYcODoGcWVMHRS
Output for 5.6.29
0.96931219100952$2y$13$QECUBxZlP7czPSfBsk2xKelATJIzfPvnYStmRyqlYLYDTP7OQtorW
Output for 5.6.28
0.99692606925964$2y$13$iEJ7Txa3PKmrlfFOEcDEsOQjYXI8WhSBRvFAlSGKZNyU9fPV2DV2K
Output for 5.6.27
0.94200086593628$2y$13$0edouz30oFzMRbagcA6tOOXIvOa0y8KL8.81Hyr6vcFXn6SmVhxZG
Output for 5.6.26
0.99200916290283$2y$13$ODhMPD8CsCyzQKQXzK05T.a9Zy3D.UVSNU.CP5DaPs8hJQlQ9pWSG
Output for 5.6.25
0.96002411842346$2y$13$k9lHJsEIHeqHWaowYi1Nou2bjw0qsFSNNqAkATpi.XoNHPt3blT5m
Output for 5.6.24
0.96703386306763$2y$13$guWD8vG6nPY5HWll8s2ZCOloqiGN7bX6oQM3BTs97xRffD.6yGeAS
Output for 5.6.23
0.98595309257507$2y$13$z30iWNg8jQ8Ulscr2wxsveuJGyhIHc916Rwjcn19jfXGjfjXIdp.y
Output for 5.6.22
0.95182800292969$2y$13$IlnffJuF3qHtT7qdRVFmmu/WdB27dHyQYi/bctFXU.uozd2aS776K
Output for 5.6.21
0.99429702758789$2y$13$97nxIc6BTFLj/2pD5r6uK.qHJ8XeSY60wFL.wz.jUlxrnydGwMcKu
Output for 5.6.20
0.9381160736084$2y$13$EpFJiYc2a1t2PvHkcWS6q.8s3ufSqyW0pX0FohYs7iZ/rag8VmQjW
Output for 5.6.19
0.99043202400208$2y$13$jHNYfta5hwQamdE946RDHO0toob/mywPYgFkiNBXSGT/F7eVW/IrO
Output for 5.6.18
0.94325995445251$2y$13$wH4uoSzbHVwThbb9o5XQW.4dTQw1tBaHRqnSYfqwHUj.4Tn4NayrC
Output for 5.6.17
0.9572491645813$2y$13$npinUMUDZSa.C1ES2Vi/tOu2qVWPK6rLRWWHNdn7rLnJWynY5VigW
Output for 5.6.16
0.94593000411987$2y$13$2BsnUVkxt0vZysQcZ63V2ecfrQDdaap3TDC73UitlTTCkA67E/onm
Output for 5.6.15
0.95453810691833$2y$13$JsmiwLCgxt/Iu962f2sKve71ancgtQnHAN4QkCEo6VFTsHuTCEuQO
Output for 5.6.14
0.94711184501648$2y$13$5GcbDOLtgEzfRbS0u10mOOtS3xj8ZPWxhfxi.fhaIHA/Hhx0YvlgK
Output for 5.6.13
0.94548106193542$2y$13$gZCYxRuSE3RSdQKLc90Vlu6WCJIpBcwUnSJh/C1aayoitZlq.1fVa
Output for 5.6.12
0.93826603889465$2y$13$a2dhBfb39Z/sAiTboc00SOpIaH8CVcMxHCTwTG8rfAk0uGAb0yAuS
Output for 5.6.11
1.1797859668732$2y$13$N0Qh0R/qQEpRLZNc7uKtfOcSdbjLJboEJQFyZxjeOxL94DAnbCDRq
Output for 5.6.10
0.97018599510193$2y$13$YEoTDmu3d3x1gJU3r4BQz.8CjtUs7dKTRl5D3OPB38f0mWgREJKHq
Output for 5.6.9
0.98254895210266$2y$13$SJU4q2dooYLM08IexUy5d.jJkyIL3GY2yLahWhnnBUPeOv.udqQmK
Output for 5.6.8
0.9551100730896$2y$13$UXY/92gdYHYtz0V8H36n7u0rC5DE3ZoDr5H61vClO8EScRD99861u
Output for 5.6.7
0.95587515830994$2y$13$sreRy6OIKjxCfSRGr6yc2.1CnRHFeZIuq72quumQBVWiiNf0d8HMi
Output for 5.6.6
0.97017598152161$2y$13$a8oVK8SLc1Am9lEMXM2ZfurRdNYMYN.voNufVn8LaVDX3KsQWffnu
Output for 5.6.5
0.96233010292053$2y$13$KESQ.Db1trjal69YWMVzK.7rJWGnFGb9UfJqZS09XHPyoCzU4zIfq
Output for 5.6.4
0.95928311347961$2y$13$n33Ng8pDgh9n4k1bHCp90e6HDLDcxms88T97jVGsEAvZuRRaY8kqS
Output for 5.6.3
0.94773817062378$2y$13$Gl7WLW/3S94imCJ6xviJq.P72LJLw6EUrj3rG80vAwzIB74qtK0Om
Output for 5.6.2
0.94397902488708$2y$13$W7aPuzJFiNuP6mkaZW2mIeIknEz.mUOnUYAP6wMlc0DRou85PR3Ey
Output for 5.6.1
0.97303080558777$2y$13$5c9c3caNw.KQlrHo6gdgFO9.b690LMg.ioSP7OANe88kWsrOtwQcq
Output for 5.6.0
0.95402789115906$2y$13$uAmhuZyy4Z3/hQAmXoDaTObEW5GslnEW0mjvg3AcfFHzYfoDafDkO
Output for 5.5.38
0.93819713592529$2y$13$sotHK/CJHNZgbAmunDardebUVjeLO.Vq1bjIbFxb/YnHnBRMm2xqu
Output for 5.5.37
0.97431087493896$2y$13$lbMShYG6DjwgyZF63tDNfuYix7SRRBnfEYkHev5RlUOX7GgcXXR9a
Output for 5.5.36
0.94664406776428$2y$13$TQTYTu11HGt3YM2miENJQuF3hE8HJHVryXtCyZfrnOAH6yyEfr37S
Output for 5.5.35
0.96879100799561$2y$13$myruyYbJGGPhp7CDu8BSDOEz7lMQUGBdP2WrrcgPwqji2H.n0IMO2
Output for 5.5.34
0.96228885650635$2y$13$NYqutcE5hxFHI106f5D/..8h9Ygp0mhZfG4O4ITyAc0866vA4Qkhe
Output for 5.5.33
0.98609495162964$2y$13$jyyqiOSUBD6I99JNKJ0pNOFBOQtqzsqudiujiUIp8iuE3/xoTJzuq
Output for 5.5.32
0.97170805931091$2y$13$lhQvgSab5aWdvIk2O25WmOLCBD0D0OSUfDl23I0Zn2LKFTIohHoLa
Output for 5.5.31
0.97135496139526$2y$13$cKzqwPqyEO6kunP6AAVXlOuhJl5FDM1sxs1qjOSUMCwiMza9UGvhe
Output for 5.5.30
0.95245003700256$2y$13$BpXFsnW/BbHz0geVgbELsOVwUMyCJ9rkA7UT6Fnm1VgFOS7evR5RO
Output for 5.5.29
0.95273494720459$2y$13$4AlEaUW5NbeA8NmJwaRm7eRZG3.E/fHR8n2OP5ZVJTQ6Ir/kBvHg6
Output for 5.5.28
0.95637202262878$2y$13$LNlvCrPXH0B1Vk3wZnINIefaL35WXtippXnPITpv1XP.0WnYe6IA2
Output for 5.5.27
0.95423889160156$2y$13$d5DxGh2HVSsPMquWK.MbuOLU6NW/hSXeDmu5eOybELDvYvkSOLJSy
Output for 5.5.26
0.95733404159546$2y$13$9Qu3kf.hDsdJ6BZx1AlBQuk9HOTVDX2wo7g2THmB00v1tykIiofAm
Output for 5.5.25
0.95021319389343$2y$13$5E2sqxBuU2jPh4UJh58g.uYr7wAZQPZ7Hv.n5im9B9FmDCmQQPkXq
Output for 5.5.24
0.9456148147583$2y$13$JtRyxY86XnvhdXtI1JHhSuebC.meVcvUSkHU9r4Oa2PoDtAggmmcS
Output for 5.5.23
0.9651780128479$2y$13$W4tBK5TL917TdO2U4HNT.Od7Vr8.GgHjTbjNioyiUcuGnKlI1ZyD6
Output for 5.5.22
0.95865297317505$2y$13$kn4YwvWkzfjRQi5JV2qGo.iPlXYdynKj1Nr6MzORsM58r7HHdTfaG
Output for 5.5.21
0.94585990905762$2y$13$jFYUruPM6JBlFtGaL4XUOuiEyf0eMts7q8JhklwAfLp2.soz.o4Uy
Output for 5.5.20
0.9781379699707$2y$13$.0LxSRHW4pnVP9pOGS33LenJvJgrCUdYjiPSEzHPI6r7feUnzn/NW
Output for 5.5.19
0.96142482757568$2y$13$6NiZ7I24uIecqfzrPl9R9eNzFit0FroX93ZmOtm0trrwTep0l1TO2
Output for 5.5.18
0.98844814300537$2y$13$6xcPsWVEYcjU8yiymXHKiegQFgnzLuErCyBil3YT/9OfKmlE2pelm
Output for 5.5.16
0.95057702064514$2y$13$gWpbhOtXHY8keCyXEJKiFeo6UnuNQ7B81LNPKdbpdrLyWSQh/BjCO
Output for 5.5.15
0.95871782302856$2y$13$RUCD3.8T7SHWNDaWah8bxePntG7gCUbKr0KVaB1.HkYQA46K7ffB6
Output for 5.5.14
0.98007893562317$2y$13$TAcmGePJefTdkeAUrzQeC.77bl1d88EUvbTxKbHqJdFTjSws98QVC
Output for 5.5.13
0.95089316368103$2y$13$NimkNPitRxTw701TBfNqVu/JKdX0bvOpcC24jhprun3cd76WjJTcm
Output for 5.5.12
0.95363402366638$2y$13$ch8UT0o0QiswVK0DJuC/YOAW1pE8ONXRh2m0pXUsJw4aSWcKZ4AJ.
Output for 5.5.11
0.96842193603516$2y$13$Y7bulPYxUhryKkcKrNy23Ox1oR4bMvI7xFnZrsuDd6QvzBeZKFFmu
Output for 5.5.10
0.95159506797791$2y$13$CDwTX.mm2H8aBZEmZnAiIuA3A1is7tGx0urHQ2wxPJ9VOSshPH5lC
Output for 5.5.9
0.99044704437256$2y$13$6ZybciKsIX2E18l1gVPDouQKKbv0TbQz.Zn86/mR2FwD/LeWj0Z.u
Output for 5.5.8
0.96980881690979$2y$13$ZMyx7xarLsn6i.GgX1N6QeCJ9nyaaNmYeMO0Pim.N7DHZ3SgkH8Cy
Output for 5.5.7
1.0333001613617$2y$13$dIIFiCL9jJEgULwi2GMMHOAepO.pfkVkD2MCTm17ybA/WzUUO/Y4C
Output for 5.5.6
0.97101712226868$2y$13$GeuS1ZjkKEsokUwhq.OijurCQ44ZIuI9AWqqBDODwiF9qbTJikSjO
Output for 5.5.5
0.96861696243286$2y$13$uTa1xHl6eLai8XoPMNkzpuNuO6ZEPESgTZzR4IPGiSfeJLpeWzule
Output for 5.5.4
0.96564888954163$2y$13$4OxPePEFg1LU6ByuNXh9heiqQLjd69FgjSUjJpvyc7i9RreFcyoa2
Output for 5.5.3
0.98362898826599$2y$13$.v7Dvx2hhPBWmwxp3Xjap.IZrWps5lCY8tcIDfUrp6R1zzMD/isPC
Output for 5.5.2
0.96563911437988$2y$13$CJQBnt.IVeFzNeAbTt0L1uUxSfJxpDsJZ0tnTsacH009GkID.Kos2
Output for 5.5.1
0.99093794822693$2y$13$fV1eiRRYNkpy/dz6Ccl1QuMcZxrIxUYi1eJa3z7KNqYf1g.YnhrVq
Output for 5.5.0
0.97046303749084$2y$13$C0hG.wbqWma6q.SAU2GAEetPSeoaMJVtbH7b6/glXANGIU8Gqbbz6
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/6iorj on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/6iorj on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/6iorj on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/6iorj on line 6

preferences:
62.39 ms | 579 KiB | 5 Q