3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash('foobar', PASSWORD_DEFAULT);
Output for 7.1.0
$2y$10$3nMUS/RBw0c0aKO6jkPjr.1ChkqrZxIYiRUpq0mARV9sPIwe5O0wq
Output for 7.0.14
$2y$10$WiSVnk64xO1lxVYKL8u2xuusV666feEm1KoJUytflHhTOdgUstUTi
Output for 7.0.10
$2y$10$OQf/OriJ16MXNTy8oOVwI.Ptp.lRjHKoFHUNRBAMxNzrkAZ71iSaS
Output for 7.0.9
$2y$10$qt3nbPVOpAS0PJDvl9pq5.OTu0PiGLUKDI6H4SFEpdUqMXkDoVcKC
Output for 7.0.8
$2y$10$KOFOyLAe6Dgf8zb8g8oUL.Mf2pK1S9jl1qY6F/Owz0n8FD6scx1pO
Output for 7.0.7
$2y$10$XAKQNLrSrC6NGwqqJwjrLOhriYK/H6JgWQmUnW080SteuyFFYgwUi
Output for 7.0.6
$2y$10$kfVfSbpB1G7bPyYlN1XU/eIqQIR2ZUhZXNF/7Ke6xDpBOrx0NUxue
Output for 7.0.5
$2y$10$DoT9qweZQqe0Rn1tPvrjBO8nCge0D9vtexL.Dm7GYB2RVEGvJi3vi
Output for 7.0.4
$2y$10$hCmwUeZ/m18VtZruhoPEm.HeHYYeYs2puinaMWpqGZMdTQI.HBafK
Output for 7.0.3
$2y$10$3CY97FeC3B4Mz6WD4aMFI.wvNql./foKwnLcvGOrKms8gsoqwX2Jq
Output for 7.0.2
$2y$10$aw0xulTKFaijh2gD0X7AZ.kNJub31FQAywcQmnGYwNwAq4Pasw.Rm
Output for 7.0.1
$2y$10$nScOemBaAw5AvZLDClldU.XWHBKzNQTU1hc8a0y6qJ33.H7vN3bIq
Output for 7.0.0
$2y$10$fmZ7hEBrA/9IDh7MyQyycex/Btd/Mjt6G5iFrIJIRoePwKOlKawRu
Output for hhvm-3.12.0
$2y$10$RfFV1XJHKqI9w9SmnppSXOZ1hplItgtSr2rzkTfGI/6NUIgzZr41u
Output for hhvm-3.10.0
$2y$10$4iRIC/n0XZ3OKOJF/QBjt.14OAQeFyPdfI3aYNP7s14Sf/4dnrR5G
Output for 5.6.28
$2y$10$dVRK2xeI0cA0dCXP6Ox.W.oBBjN/tWA76e6WUMcVW8ERPKwr0AYHG
Output for 5.6.25
$2y$10$PhLOGltbLKooQiwvbgw.PeY8OSpysbXm0pKd72a4IFsTEvix28yUK
Output for 5.6.24
$2y$10$xfMK3WIKoHFyeOlK88xMf.CtwP9C74h6HF4GpgAZhUhzpo287XVDa
Output for 5.6.23
$2y$10$kyED8P.lKzsQd4xvGiRNbeTngXTWzs/Qss27ypbuM..1npEDBOxmO
Output for 5.6.22
$2y$10$UR5FBXXBQhLTHQuhDUKq3O1hhN9skP0mPhAGLdGlHJ/D/EOVTgfXa
Output for 5.6.21
$2y$10$6usUSyYn5lYOnj9IL/1K.OpBHeFo55YXpQ/5daOPvPTw4Kt2Z2/06
Output for 5.6.20
$2y$10$KwHA5i9L0BB3cjcAKmiyj.cZ4wNnOjWugc6GOYbaCGrsoSlnT1SPi
Output for 5.6.19
$2y$10$yRBpU9HSD2mPzx2GvWHK0uIYfQ/DI.YVcT5rBbvzQSSYfI8qnVc8e
Output for 5.6.18
$2y$10$N8W/wPNbTXLBPnLguXvrIOpKohGff1CtC7w0MJF/i1og3W7vNUld6
Output for 5.6.17
$2y$10$e38Wp41ED0gDAJT.w.TpfO6fpMzZhnSvXboGnUge5ElZaWGMeMSc.
Output for 5.6.16
$2y$10$JbV.n6kac9AhqU.b7M6OFOx4rV7bKySK.6EL4nBuqAZwid/bdHka2
Output for 5.6.15
$2y$10$94.xTZTbuWBI.LoFkTA7y.uzQWEtTurNL4XLDr8wEyVg7LUhS3.RG
Output for 5.6.14
$2y$10$r.Ds7JktKLnc0BOKmBxQX.fzGDKvV/9E3xzCxyBdjHk8s5EEBWxza
Output for 5.6.13
$2y$10$Bvte0TwOetwpjweb2dRRoOhWXNkIAD6Mtbkk5Tm2bD6kKwR2WkssS
Output for 5.6.12
$2y$10$mVKIW/cE/NXndpip50z41.iqQMTeirmamXIfAHXAYeFlZqt7C0AdW
Output for 5.6.11
$2y$10$ev1fTDGcIPmDbJR9kW8q0OJuH1Pt8DlgZP5zlWvKtV1amChpHsGOu
Output for 5.6.10
$2y$10$2tdrvjBkDyz/7qAyaHDILuPnH0o4pOWhN2h2KWwp.HcC1ij2w94T6
Output for 5.6.9
$2y$10$YkzcAGOuWuKxRNvAlDrr/e.LWeLl0y5zFpqKKYkVz4bMgB34EH7a2
Output for 5.6.8
$2y$10$3dmjqeqpoNx/eojRFGTpYefWCKYt1HJIQfM4v7m.LH6pFrLD/3FCq
Output for 5.6.7
$2y$10$q0KBiqt0v5lsSkBvMuUib.97HFTGvS/cVV8ud6OeTMDdA.eB3Vg/a
Output for 5.6.6
$2y$10$jD0CInFZpuoOgSga61S6bON1FkBIy7bt.PyCh3ertWeAtHMm06bve
Output for 5.6.5
$2y$10$rnk83LYYziKK8gA6UBG4dOFNVPeTGWXEo1E91h.P4qtoM/88/Au3W
Output for 5.6.4
$2y$10$WqIyC.Uh6oX004yBL/pOPesFp/ktVaS/GBaeI7/ukSeWXX9gLjU0C
Output for 5.6.3
$2y$10$ep870B1Eoccu8Bf9grJFs.N.r0tJHUaP1lhQYForRi5x56kMF4mhm
Output for 5.6.2
$2y$10$.b0RjUAXxc5Jt5sc1JKTq.p/tuoZI9xewf5sQVoEd1Xxefq9a2znK
Output for 5.6.1
$2y$10$YUOwbNvGx7uSRkQhgURHbeBLLYjBqICYNuDuPpHbEx1uvJQVib4ay
Output for 5.6.0
$2y$10$bDYKyT2zT1eRTQjgZ8NL.eSTJe2QBNhA/07NThvmkTmfUxRBnAtkS
Output for 5.5.38
$2y$10$v6XH9QgYwPbjGc4kYkFJaOefRYdtqzlYd9TzvQDWITbhrJQgf5DFu
Output for 5.5.37
$2y$10$0nDgxwMYKRMApGu.UWul7eXgK5lgSqnLlJcLWx/YUlcL9SL..cZKS
Output for 5.5.36
$2y$10$jC1vx8gPWviYhvKKKEpOCO5Xp1VYvOZcyDuqK./B08XTBj0xKFs0e
Output for 5.5.35
$2y$10$qAa.LyPSx8J6bQyVgfWWY.t0Pr9ERQOPq.pg60J/5q4sFVi5xabeO
Output for 5.5.34
$2y$10$y/kAtIjDjNjyX/5Mu12KZuXhkrlrlY.HBhBmrr32/ikuDSYe/e3bi
Output for 5.5.33
$2y$10$.jH9yhPlxBYDNQ3emU/wN.o4wrrsg8w4jCC9Kj24VIFXDX/Gxdh.K
Output for 5.5.32
$2y$10$rKSVQBF9YUGvkGPpvutQ0uS1Lt0qDyVb7tq8hJhuYS4j9mqgPJNoe
Output for 5.5.31
$2y$10$rrVbGqAFwHZeOOu4Vn5RG.dgyUA844rdltS0YRkYC1W5GK7UULb/6
Output for 5.5.30
$2y$10$ti0MpMH.ZJG0uW6g6SpJ9.oe0c9aXWXgxzZx1AKIL.x.M7RIeIX5i
Output for 5.5.29
$2y$10$sog3vg7c.diOnkJ1r1NQQeGGtZxV3TJhJqtNJ5V7Z1mERuxigdiwq
Output for 5.5.28
$2y$10$apho0us7W7ZG1wnzOygoluD66uvRL/Gwg7slmXQQiawBqjjTaZFtu
Output for 5.5.27
$2y$10$Q0WPO1tMQ/12AF9gTYh27e1DcP972nQdEPLdXccQkvUf/5SWSJxFa
Output for 5.5.26
$2y$10$hyOieuL/YNU2e/yXW8jy/uIOphro.SfjvSYMy3B/2UJVM1uhLCZTC
Output for 5.5.25
$2y$10$no1B8KM8iujzP6lGOQIFz.tZBcM2gjUTyaAVpX883dIORnINkMSe6
Output for 5.5.24
$2y$10$oz5/0LUTAdcKI15cw96cWeC/yjcsUlOwpizYkXs96Z6Ei/KuvKT2u
Output for 5.5.23
$2y$10$diRwuF9spA7zmmuFOgYIlOZiM//7.cI54lNyoo5oSSFFLlg6sGo0a
Output for 5.5.22
$2y$10$GB/Vp1eeK9I/3fQ7bGWGK.J/KSe.VpETmVVbqCPcsZNBC7jmN5Lm.
Output for 5.5.21
$2y$10$XLvhAMric2ftSFfCvPBdHuDVdP9q17ULejZwN2NE2/eUnqP162I7W
Output for 5.5.20
$2y$10$t2Ri/w7icochmWYgAGRzje3gyiTal/Q2/rvNO.uiakoe4aSWq8XxC
Output for 5.5.19
$2y$10$EpDpSzBm8my71YAcJkWQdeOgkVmCnLbF0aAHIPJ7Ipc.coxucOJT2
Output for 5.5.18
$2y$10$aJtjDCAdbOMjaidktI4wt.h0SczKLhncUeenliIVBU526eUjCcUdK
Output for 5.5.16
$2y$10$LBlWaKXoe/Xtn98EppyLK.tSPwQld.LQfBuvR97hjeyM8hQAK4/iC
Output for 5.5.15
$2y$10$yrXXqD6DfL26hC4V/u6bDeOYg8dDWN7PMIPSK6nf.PNWvfAWYyXIK
Output for 5.5.14
$2y$10$Ijxv9u/JuIF4aLvNKl/Zc.6Gvewsc/oas28u8WoDnna6aULvfR1fq
Output for 5.5.13
$2y$10$BkfH3bB49Qsd/FUTOiPJ8OR5Cs7mjLC0vLLCVVh4pPxUssRA7DKq.
Output for 5.5.12
$2y$10$EFkPv.HirsZCurxPRkKl4OgE4YiuazPzn5/SruSg76W/x1yolF0i.
Output for 5.5.11
$2y$10$NWHfS49G8QpMd1xq0lrnKOlbqYQzi6GhOrHaqmNP5bIpqIVA5zcSS
Output for 5.5.10
$2y$10$W9tJkCreIqFgmj9gz0hEa.iR3VzYQF1i7BxjL2aejkYl6JJV5eXyi
Output for 5.5.9
$2y$10$mm8PsajQhjM86O.GyTG7NOS3gQ6jqR.cn6WINkwx98b4TJpYsqpMK
Output for 5.5.8
$2y$10$LKXm8oi99QuYYPIysa1mNeB1vIYjLo3YCdGbJ4nyS1jZG674qMhbO
Output for 5.5.7
$2y$10$w1GSMDBJFJcf.1ss1NGN7ubwj/voiYtoyoucj99bmIT1lA0QtnLiK
Output for 5.5.6
$2y$10$2Ovz8rNr5XGYxI9qORZEyuMipcObP9DiA4MqMgOXJ2a5QfdkumFRm
Output for 5.5.5
$2y$10$m6RYezEr1yIWAxx68PL2LeTmg6rLHJLNfizolWHjyVt3OgVSK0Wey
Output for 5.5.4
$2y$10$0yyFN5aEbR1Nkr9UIw8GL.3HuYn3yeZAX3btdGHvEvDYf6WRrd35S
Output for 5.5.3
$2y$10$xcsaxR2s/MR0VYLVQVHX8O/dUEcraJ8j4dr9g5v9OV9WKY2sFfR4u
Output for 5.5.2
$2y$10$6/3XMPpur4g84jic8AdQne.NIsfdBMpMG3eupr8Rv5Dv/hhLchQcG
Output for 5.5.1
$2y$10$WyYfExPG0BrYqB8YWRTnleFcuIR51gvxd9CQFS6iHwT/uXn/mnkkS
Output for 5.5.0
$2y$10$moXjm6EdJ3d5DEGFnKLuL.ll.5u7D.EzTGjPJXo1DdKmesp7xXWQC
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/olLj3 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/olLj3 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/olLj3 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/olLj3 on line 3