3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $salt = strtr(base64_encode(mcrypt_create_iv(16, MCRYPT_DEV_URANDOM)), '+', '.'); echo crypt('thisisatest','$2y$07$'.$salt);
based on cu3V7
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /in/d1Uu2:2 Stack trace: #0 {main} thrown in /in/d1Uu2 on line 2
Process exited with code 255.
Output for 7.0.5
$2y$07$H4rBA/E/2Ye5dQikzk9LA.hAoOVi/0o8CvsgutuO.80LdgOrDGY7W
Output for 7.0.4
$2y$07$4ZdTaR7y9mLc/tATaoq/6.6e6v671S1lBMQVnHyo2mGyPr41IMWBa
Output for 7.0.3
$2y$07$z46dWr.1v2TfV2oAvvbd2uQZNcubcpp4L/thM9.mzlHMBc4um1Gze
Output for 7.0.2
$2y$07$akvrUhIHPUNTPZyd0HZAXulAbJNNrdqMugxuNmZ0cBZPcQDe2057e
Output for 7.0.1
$2y$07$Pl1mzA5Gsb0gQDUj5UrGPe9DjLdEpZlakt8eAiuuvpYGMViK/SZKK
Output for 7.0.0
$2y$07$FnEWv2mkURyzGlFlxl/l2.lNJXsoRJp1XckD0j/YcwfeiuFD/dA3a
Output for 5.3.19 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_create_iv() in /in/d1Uu2 on line 2
Process exited with code 255.
Output for 5.6.20
$2y$07$1vqQliBTs76cwOz6LoXVsuXUs0W/6coInDBaWljkZT8MSqQpLoMwu
Output for 5.6.19
$2y$07$QIMrTbJeSwANGwX1UpRSA.wzsKarr81Bto2f8GEc65YWEbLeCTzPi
Output for 5.6.18
$2y$07$OSdnhzc2pt8Nuju2pcbm0.dBO459CihvfNBVIuWr4lkj5X6b2tJeC
Output for 5.6.17
$2y$07$FKSEkb.tPZzUgrNRbmqFg.lXtokDqfByHcKqqa1K6PWgVf3hDew2W
Output for 5.6.16
$2y$07$lUkZXFW/iqPCcoBkGtLX5ece.qtnpNkKhGMn13xcEAj78w2cs9HH6
Output for 5.6.15
$2y$07$naTK7PWrW5jxBDNCHAwf2uDH.Fu.Tg9tYH7iOSzTUxoDZQdkFHen.
Output for 5.6.14
$2y$07$BOp73uEc7haSZZqCblOAxex4V5z3mHvFdDEdK8yCRxwmmjaC3146u
Output for 5.6.13
$2y$07$5rQ/W3/AfCwUJ3SzDcAPvuKazFFUYcNF9Q9vh6QbwDw2dHIIcyEL6
Output for 5.6.12
$2y$07$uGb9VdEnlbLNYVE3wbdiBOnCnPapisI78L28m0pS7fcM0VNxz5KTS
Output for 5.6.11
$2y$07$PnFBzzYuWHTfSl.A8kJPOOqNt10MbTkGylwz88JgSzOBT1QsYjMAK
Output for 5.6.10
$2y$07$VuXr4i2sX/06YZzPg/ARzOJqwl7wnD5Em9vx4x5t6OnK0yaYV2I2W
Output for 5.6.9
$2y$07$bZxGlUSzsN.bwsLLhwH7VeTQxzHg7NbpE3slpIn44fOKL8HZGuGv6
Output for 5.6.8
$2y$07$ExXaowUtK347rsL4i20hpeKFXfoJ1rHAjMyafyrZJp0La40FWCQhe
Output for 5.5.34
$2y$07$hmKABMYVywM.Vwxxe1RE7eJD5AGQySohnuwbqAxuU9GtlARZevPhO
Output for 5.5.33
$2y$07$ptyT.UcXMLrr.suTQolHUunwNEELnhQ2tAEuAS0qnxdyZp6RePGqe
Output for 5.5.32
$2y$07$zNzNZmTkIyyftBhrA63vyerLVslHQhNXD7KgPoRfLaqJP3w09t5Em
Output for 5.5.31
$2y$07$AK.ZkMoxShfuhl7RVYAL1.iqi5lfl3NqqkntxyuHjA3a6dEc/7gMm
Output for 5.5.30
$2y$07$XpsHcrUlZVQvsNFKmgLy1.SpYB9Wr8hQdi74ARQ9ds6tAn1mVi0ya
Output for 5.5.29
$2y$07$gY2o4nhQn9busMOeOFJCfO5VAFFoR6FaIsGXWmy0iXdp086oAiztG
Output for 5.5.28
$2y$07$tSDP1QU03gs6AlGJkBodx.MjKpwH0eBmc9xBPtrsRXbZoQYzCTXtS
Output for 5.5.27
$2y$07$U9X1p.LX04/vqU5pFSDjau7ohWBQm5qedXDltF1rdpouoz5mbt45y
Output for 5.5.26
$2y$07$2/.NBbQ7CX5yzAk5vULdZeCewhHI2znFGfRk/eJlLKJGqug9fOpry
Output for 5.5.25
$2y$07$FloJgCZjuqVOwkwABNpj6.XIVYZo8GZSqc4UJCLyK3vP5itTddOEi
Output for 5.5.24
$2y$07$7A0/NMkL.YFfhAxJ0YSGTOAM3XpMvINIxFQla1Xq1dE4suwOIzeDO
Output for 5.4.45
$2y$07$Au1ddzVmMxGDMNscTl56tOVt.k5BE.YHcnvEvuSHtckt3udCfeTX6
Output for 5.4.44
$2y$07$CqPof4nGSairnmgU2JqrcOtitHZzizLIJdmI0VK67kQFb01PFAn/S
Output for 5.4.43
$2y$07$x.OgSkaMBPqyfKRL4ROuIelWW6lUW8Yegi7VtFp4qmUTU9dryJS2W
Output for 5.4.42
$2y$07$.dQui0Hy7aTfUnpX5tLiE.N.c8sXb4r40Sin/BnGBTbSsxP81BYKm
Output for 5.4.41
$2y$07$sNGoFC7EsDJUFX1SsZthEeX4PsV7yqYlqwEcIxr4q5lYzeBh3AyHu
Output for 5.4.40
$2y$07$kxyOHI1eW1RQ2vpRHFivMuLHSchiMpdsfIkD/jzayPQID3pwQ9EeS
Output for 5.4.39
$2y$07$MpVDGvcOzvl2JFFbn9ARGOl0zLcJ7xiC4pLbYTcyYJQu4AbWULxg6
Output for 5.4.38
$2y$07$InhL4DZO.xGr4eFCq/XtP.HhWMNGF6ixn0lfi140m1sg0are/cZDq
Output for 5.4.37
$2y$07$2Srcj60mEz7yD0J69e5P7.UQSc/XJiDsLBEfnpsvTKzpGD1FjJgC2
Output for 5.4.36
$2y$07$FZp0n1ALd.e92/VgkHAANOx7hfr7Gtkzkl2l1PBN3a.SH6ZwY1Qtm
Output for 5.4.35
$2y$07$p6SB.E2WVox0gLsGhooaiu4gshg4CETjIm4.eZd0kW8xOuioL7Fb6
Output for 5.4.34
$2y$07$bbAbxtzRgxaftWdLjF1PxOBHfrXoSeTJ4bW.p3cnlQpQn6vfin4qC
Output for 5.4.32
$2y$07$6.G.0nKdatWFk4ws9WIS5OMe9mkreP3yjn9KO1newC3/DDRMv1/Yi
Output for 5.4.31
$2y$07$HOD160UMa4O7qmnrFnjaTOg3gUaFIpH.6mir16WPL/CzO2onezlYy
Output for 5.4.30
$2y$07$wAARF3rFdo7jmKZyJwspkuIO7kS7QYydGIbdpG5xxwjWZARa7jmgu
Output for 5.4.29
$2y$07$qd8OO4zyglFCXwJ6Yr8Me.x09MmI/1gsOP1luGHpOjoTuGJXHy0eO
Output for 5.4.28
$2y$07$aOpzz3bDJ8eKJxGbSXLiF.JmKuEfzP5oMYa5zCatXSSLRL9ttxhC2
Output for 5.4.27
$2y$07$DTXDA4M/pZKDldVu7ADrsee.VwUZZtH2jm8EufnSODSq50kOr9jIe
Output for 5.4.26
$2y$07$BH.NAzyEHztmPu824J7g5uYme3rcm0ZZStIML.NtF1Et5KHZAIYiq
Output for 5.4.25
$2y$07$UlQilH8cNrXzbc9XN1UWZux0D4w1GSXx7PKkv1f91eUeLVvgV58Tq
Output for 5.4.24
$2y$07$O0dxH/uSSzb6sh/lvCcy/uFW9KFYzGqy/Z2IpiZIFnc8uSTz0c.tu
Output for 5.4.23
$2y$07$qaVSgRT.lyIdtse87SR9t.xnLPdWnzbwsXoM0RDop5U3/mmWD4pXq
Output for 5.4.22
$2y$07$vhpkQiMGLdlmVpiCzjINseO.TxvorDZrshy4xZ5bVT.hKgSEjV.oe
Output for 5.4.21
$2y$07$ENDmcEEsm0ytVFtHIKvB6efs.WCVbnMgavGe9M268wGTxFXsgfLU6
Output for 5.4.20
$2y$07$r7yw2ZDqslNMecfGhd4Hj.HiG2Mq3VYkrHty7pStj7RWW0DG9as8K
Output for 5.4.19
$2y$07$s.8zLr3qmKnM7b1PUckxD.gqWjm6Tvn.XJPHYyclJBlIe4cBRiElC
Output for 5.4.18
$2y$07$su5qoZludwW75frMOKyeLeSXjBRpep415.OdInTVklqh1hDhiI2AS
Output for 5.4.17
$2y$07$HKjqqDTuisYQchA6L8x4weIcXwa0/pbHwU87xum7gABQHZXA2VPba
Output for 5.4.16
$2y$07$DuIGYTRaGLm0VFqcnICCAeiCEHbw2DEGOn8y4Do/xUX8AggqL7JuS
Output for 5.4.15
$2y$07$Nm/GHpuH.qcTaG.AZymRDewypVoUCJVkJVOiqI1Ip5MVP6KEp6Zsm
Output for 5.4.14
$2y$07$M0d3fo6DnLKkFnqted9fseFeHqthyroRsZK7sfQPZhFi6Q3nd8pci
Output for 5.4.13
$2y$07$iGhcYnuwc9iFIfYNd8E6jOwcYmnNSzV1e2pvOOZBvnzhU4uOvl96W
Output for 5.4.12
$2y$07$TOJSJj/thwRIvxv1KZXJ1ejl8V9Qa9tHxzqk1uQrS2olBUCSTcfxC
Output for 5.4.11
$2y$07$NZ5YFD0uB1PrHfrMmjeF3uqcwUjYeTyAqWwMS7.S8ebZOfQrcxDWy
Output for 5.4.10
$2y$07$YjPNW.f79Q7DoXrBJ7X3g.CWFoczC3k6pOHmhlD8Lfh66uJ3.cxvq
Output for 5.4.9
$2y$07$Ux.XUEV/xAfgNBbICPi5j.njposOQWu.kPXpIg9.Q8ExXaGiTPPnS
Output for 5.4.8
$2y$07$YOk33AfV4TtWUsvQNLshIeSS6I2/0TncjB.DHSxT44/JmXuLZk1ky
Output for 5.4.7
$2y$07$77gcf1tiUuuMXn53UwtBZO4ZYLg2tUi66wVutPko6zLI4Mlc9eue6
Output for 5.4.6
$2y$07$o3fZCLRauDBrAzeUnAhYW.IhQXHxjExgyRd/EJ.2xTr/9aPYtxEPa
Output for 5.4.5
$2y$07$WYpQAfx5Q/qVAKQ2LvAY4.TWL2q4gTyauFSuQgjLWP.umKOJGmn56
Output for 5.4.4
$2y$07$cvfPLs4GnpN30ZbXUhXh2Oxjk4m0Yt4yh/YIJ86ZLRoEQT2MOibPa
Output for 5.4.3
$2y$07$VUQMYGXFmgkQ/7NtPj/4weYVqmpHrEbPRRfKMAeePiC9CH4TfCHGO
Output for 5.4.2
$2y$07$VpnaeFz.nlSTxawLCBI8GeSHpKlLzjh/OubSP9m09vRLGc1KuQcqO
Output for 5.4.1
$2y$07$utXoFH1KDeebTOdYqeD9bORytlkNOG72ifIl85VGJVPL/qKEGJxti
Output for 5.4.0
$2y$07$6NS8L/FmJTivZiJwO/j6heXfE7raih.z5IU8LN7kNAZvayOikHZjS