3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hashes = []; $hashes[0] = password_hash('boegaboe', PASSWORD_BCRYPT); var_dump(PASSWORD_BCRYPT, $hashes);
Output for 7.1.0
int(1) array(1) { [0]=> string(60) "$2y$10$czfJTKv/JRL5dFEflWL63ucE8symuZv0aGvkTZjcFP/SN4AWN6wPq" }
Output for 7.0.14
int(1) array(1) { [0]=> string(60) "$2y$10$2/gzAIxg/LTHAzarCuBnDuiq7R9p9fHHWzenkuQngYLdH158hMXvi" }
Output for 7.0.9
int(1) array(1) { [0]=> string(60) "$2y$10$plBOg//OYG8oYueDgJVEBefGKeLEr5W9qiY8fNL7lpp2Cn3Ii8jry" }
Output for 7.0.8
int(1) array(1) { [0]=> string(60) "$2y$10$RE8Hjk5fv1rkyDck0CG88u1WSUDKQ7yoZ4mv8dHrNl8NXK7Rf6ZkK" }
Output for 7.0.7
int(1) array(1) { [0]=> string(60) "$2y$10$Ou/yqRhLxDl33JREhGgjXO1/Ilc1XEPrSl7BJj1CiEkIKZFXn5SFu" }
Output for 7.0.6
int(1) array(1) { [0]=> string(60) "$2y$10$8YxHeNQOL7OW5FttxB916u3/oAmLxzEidJILf5zXhJ8zbUv5lPqza" }
Output for 7.0.5
int(1) array(1) { [0]=> string(60) "$2y$10$66.JxcgAyaYu1RrExa2HmugVPiVjlKYvbTnkhtx.7ggDjhl8wocXe" }
Output for 7.0.4
int(1) array(1) { [0]=> string(60) "$2y$10$pmFtbcepmfTqIaK4RaMnq.pf3UfxpNjmuKSZBX67Kmkeyw06UZfEy" }
Output for 7.0.3
int(1) array(1) { [0]=> string(60) "$2y$10$hIHTf.9vzmW.0syX5rMH9ufEPN531P2zYtk0XyKeQQiCPqhM9gJEO" }
Output for 7.0.2
int(1) array(1) { [0]=> string(60) "$2y$10$ky78BgZYW7Ft2K0yoOIpDODBFaiYf43xzNCsGBnTXIahLygDfzYPe" }
Output for 7.0.1
int(1) array(1) { [0]=> string(60) "$2y$10$O7zQaVSr7AYsQtz8r4/km.MKOjAFKowM8p3rcAxOgYwyQWfI9Xlym" }
Output for 7.0.0
int(1) array(1) { [0]=> string(60) "$2y$10$vWDzfLckjko6p/ttxoArPeyieg32.LfibjfatDc8/BlybjTfmLKuG" }
Output for hhvm-3.12.0
int(1) array(1) { [0]=> string(60) "$2y$10$bM9.mg48ZI2193/2bbRMZOAM7TLA1i6hh2DK1vGceb6oJ36Jg6Wvi" }
Output for hhvm-3.10.0
int(1) array(1) { [0]=> string(60) "$2y$10$FtDOT3hpvurKITeTq4eNSe2X8N02gh9/t4MPRwiDgbItTYeC4n0S." }
Output for 5.6.28
int(1) array(1) { [0]=> string(60) "$2y$10$15KgajJFvDYAkQnwdxxamehuWmD8fDMEEnklcNC.UR57Qa93c4dj6" }
Output for 5.6.23
int(1) array(1) { [0]=> string(60) "$2y$10$Ovrs5aazDBwktZTY41nhye1SpScI3cE8hpXO/RrEUqnq/Z7LURTgS" }
Output for 5.6.22
int(1) array(1) { [0]=> string(60) "$2y$10$0qe3aEVJWsKNRCp4yKAOFe/jnAqoty83RFA5WsrKw3Yyl2n/ODW5i" }
Output for 5.6.21
int(1) array(1) { [0]=> string(60) "$2y$10$yztW4R1IHQzDxnQS4I2XnuSu0f4nb8LR49N8w6bXwO0/P1QeXIuQ6" }
Output for 5.6.20
int(1) array(1) { [0]=> string(60) "$2y$10$L09XYhG5Ybzo86GVW/2Ti.lRomZTstq2YZ8grnt5Kfibso645ulDu" }
Output for 5.6.19
int(1) array(1) { [0]=> string(60) "$2y$10$jGprU4Jg6zHutc8cCK/fd.6CETf76bRKncfvPQIsZ2M7GdkWwu4mS" }
Output for 5.6.18
int(1) array(1) { [0]=> string(60) "$2y$10$rNweIdhOgSuW4tFG7H5t7e6mnVHlWRq6Xm5FfmZSk765GdOSg81UK" }
Output for 5.6.17
int(1) array(1) { [0]=> string(60) "$2y$10$eBDJd4f3cuDBhyrUv/E4PuiYvtxTEbqDj2wgHV08SX3SK0tHwlkJO" }
Output for 5.6.16
int(1) array(1) { [0]=> string(60) "$2y$10$rqX9IrSA6.I9P/GVVNC7YOeIhciZQgMvaeoifsS03IVeg3uvuI7IW" }
Output for 5.6.15
int(1) array(1) { [0]=> string(60) "$2y$10$7.P//Haa6C9rOKf7foOihegWJdomBTvnW99xlpBMNVudKQGcRWPpO" }
Output for 5.6.14
int(1) array(1) { [0]=> string(60) "$2y$10$rbPaS1jYp8TTjFgqDMjAN.BBLjPSRiABqSrCH1xmU2u8/plfTi65O" }
Output for 5.6.13
int(1) array(1) { [0]=> string(60) "$2y$10$O7IB6YbEWpqiEjRp6Spf0OmYWH7Tzaw5swPcJ2j/fEBIU/tW6DOzy" }
Output for 5.6.12
int(1) array(1) { [0]=> string(60) "$2y$10$Tq4MeRnsSmczQ7r/S1Zrk.1pjTsAjgu8p8xeYcfXYF72vJ8ZqrN/." }
Output for 5.6.11
int(1) array(1) { [0]=> string(60) "$2y$10$qwLns6WqzqBwhjVHPulM/uU1PQ/MIm..DLBmZ7fOTYOMSszQfwEA6" }
Output for 5.6.10
int(1) array(1) { [0]=> string(60) "$2y$10$uQ0jJm3iJh5LX0VmPk.J5uT4oizNHH4Ln5LuXh9ddPhtXYTr9sDwu" }
Output for 5.6.9
int(1) array(1) { [0]=> string(60) "$2y$10$/dgTpwMR1c2.W5fDIzI2ju1xAyMu6zuC14NVLs00eE0m.CE1.qW/u" }
Output for 5.6.8
int(1) array(1) { [0]=> string(60) "$2y$10$s/L1txqL85hvlFZrZcJcsurHAX2oBxefpk7KCSvRcMLfz0C6nBMzO" }
Output for 5.6.7
int(1) array(1) { [0]=> string(60) "$2y$10$VJE2a5/Waqik0Au3/wjeverVfIlIViidPLyttOUy5BV6mdj0zUaom" }
Output for 5.6.6
int(1) array(1) { [0]=> string(60) "$2y$10$gy1zErmrXVopDMPC2WM3G.RJ08.SlMgpCriBjH4R9pMECbPQ1IRoq" }
Output for 5.6.5
int(1) array(1) { [0]=> string(60) "$2y$10$D2GAyyOIjkzMc/HTLEh5Wetl0tzOab69Ng5VZxCyVOQj/BI3tAyM." }
Output for 5.6.4
int(1) array(1) { [0]=> string(60) "$2y$10$tVJ4aFrWK8YfBIZUdFJKKe.TJSMSdAkC85GGIK0u7ic2zH7nm5XH2" }
Output for 5.6.3
int(1) array(1) { [0]=> string(60) "$2y$10$e1Nk6VEnx8R3FAzhUA/tSeYe72FBk0.x/.TmMPNkBnL5h.PVa.j4S" }
Output for 5.6.2
int(1) array(1) { [0]=> string(60) "$2y$10$RX8Mk/owCf6uwbV/d.c7ROWlz0g8aj7tVK4MbIofSdpU5oQMM7VWO" }
Output for 5.6.1
int(1) array(1) { [0]=> string(60) "$2y$10$.uthgqDILRWmvV1Q6Sq0XeITOhYnjECRIN9TlxCK8XYu7MFbp/bmW" }
Output for 5.6.0
int(1) array(1) { [0]=> string(60) "$2y$10$MAk1wBDlaEZCHzTOjPHnR.GfmMWYmBsOcvHuIgPJL.mFTZ3PJQfL2" }
Output for 5.5.37
int(1) array(1) { [0]=> string(60) "$2y$10$21OWSPG7PL0sLun9O/d/i.q7j4o12jthqFeyt1tqGrKH4/UxYrnn2" }
Output for 5.5.36
int(1) array(1) { [0]=> string(60) "$2y$10$3bCYcnzXVqXqnzrpEgJgkuoBMm04tJ0eMLXDq8tBCJtiWfv6GvrfC" }
Output for 5.5.35
int(1) array(1) { [0]=> string(60) "$2y$10$2IhkV6TYpImqxjiHpIE1j.VnlrWXVh5GtQEkyCugkhoJOsE5a/ziu" }
Output for 5.5.34
int(1) array(1) { [0]=> string(60) "$2y$10$.hvqmhZWSrXyLY3EHIOK0OOxkOYClwKP62q4grsKNLIHR3zUVzk7e" }
Output for 5.5.33
int(1) array(1) { [0]=> string(60) "$2y$10$AypGc/cjYEFP.oYXdctG4ei76.7p7HAu48sPPI/wttwAVqYwCcj3e" }
Output for 5.5.32
int(1) array(1) { [0]=> string(60) "$2y$10$.5JQniK9x9J./sEDgOlIheYPsF1fFQZl1WR0Uf00KNn8X3PvRWDri" }
Output for 5.5.31
int(1) array(1) { [0]=> string(60) "$2y$10$uGb8uO3QYjHESO9ESLss0ezaNacnidPrKgWJnVKBhDxDTMYdzmBvO" }
Output for 5.5.30
int(1) array(1) { [0]=> string(60) "$2y$10$DZI4UrIfAEFJah335hbnwusS./mkqjpJrqJJrLs14eR2/kV4cHPCa" }
Output for 5.5.29
int(1) array(1) { [0]=> string(60) "$2y$10$Dri9gTV9Nx0o.PjtQAUR2OloZsy5lKdCDBatkvTdk8lkBliWoeuL." }
Output for 5.5.28
int(1) array(1) { [0]=> string(60) "$2y$10$0TI2j2tDs0Fy8pMVIA5PQ.dcvB8wjrhr2BbCdQUhxzC.Xn0/gKFGa" }
Output for 5.5.27
int(1) array(1) { [0]=> string(60) "$2y$10$6yKPfaa9vuRrEGGw18M4nOt/Q8s6URcopp9xRzWJceT/WL9yfDhLC" }
Output for 5.5.26
int(1) array(1) { [0]=> string(60) "$2y$10$al7VgcH5JYw2q7aLBdTt3ek896GWis1mQIpV6MyxxLmLVAgue8Rxq" }
Output for 5.5.25
int(1) array(1) { [0]=> string(60) "$2y$10$zrbnLE8pjcZsmYX3NQqd/O.CydMP185kwVJ6GbW4ME1Kk/KO84qOK" }
Output for 5.5.24
int(1) array(1) { [0]=> string(60) "$2y$10$1zKUU0sZqffwVZY8UdKzluVOOjlVZclOVxunAkjU1/FBpf2/NdBEy" }
Output for 5.5.23
int(1) array(1) { [0]=> string(60) "$2y$10$UaChHnBct/bXilU5FlhHVuKcqUBPYWR3zH8hUcUwr7PQ3J8RzZEJG" }
Output for 5.5.22
int(1) array(1) { [0]=> string(60) "$2y$10$bWEI2VL1Vd5npzJo43cXW.vaCzofr7l9LFvG2kqtIbPUn.jr7Aqfu" }
Output for 5.5.21
int(1) array(1) { [0]=> string(60) "$2y$10$J7JH422w5KQvioT2FYYXCeB2k/bRnD/ipbqNXaQ9ja85FohomLA3S" }
Output for 5.5.20
int(1) array(1) { [0]=> string(60) "$2y$10$tJeTVxL5qIkZSbVewXj01O0mIrgF9LIo7j786O.cULpcBM/59Px/2" }
Output for 5.5.19
int(1) array(1) { [0]=> string(60) "$2y$10$nH6yKlBvcKNdBHmMdomXN.lhXdfCUzT1wo3v/Vu72aHLkjhpJ3XZ2" }
Output for 5.5.18
int(1) array(1) { [0]=> string(60) "$2y$10$gp8ys/9h9Po0lKySXS.MleKOQqanV2wnSXzbBmh9OyGQ..PDnEDlW" }
Output for 5.5.16
int(1) array(1) { [0]=> string(60) "$2y$10$2iWbJrSmR78c5jhDKHXu7edB/5Eann4GlD5dXW3REaqXPIfBDNTJO" }
Output for 5.5.15
int(1) array(1) { [0]=> string(60) "$2y$10$etBYyqFQJ1nyp2M1PrfTW.UfV9buvkqlSuxTYpPOKRli7XJACTya2" }
Output for 5.5.14
int(1) array(1) { [0]=> string(60) "$2y$10$.nyPEtfB4VsYO6Sm15iucOjzDvbrvrxSRGIWSZKEow7hKr1cRfCFu" }
Output for 5.5.13
int(1) array(1) { [0]=> string(60) "$2y$10$zMneOclzXWq43YceM88E7.zlScabb94O4OS2.KBclQomuQdaL9B9G" }
Output for 5.5.12
int(1) array(1) { [0]=> string(60) "$2y$10$UovEFSTNzA9.IptjUBrhqOqROY2JSdFsy.D4I7QPyJ4y9RrbQHmqe" }
Output for 5.5.11
int(1) array(1) { [0]=> string(60) "$2y$10$uIL7zZfxhzMB8Ilto4XbouP6xM8bk1BGJd/xYWjWnkD.eEL8KwtZm" }
Output for 5.5.10
int(1) array(1) { [0]=> string(60) "$2y$10$BJDcW1aebxYoy0mV5czAk.CUc5sHKfmJn3nIQGOYUTkr8nituh98W" }
Output for 5.5.9
int(1) array(1) { [0]=> string(60) "$2y$10$/fr1UoIfUTdDWc76MS5VCO5.6PlpvFDVifMGC7J8gwvA6EKbNAjte" }
Output for 5.5.8
int(1) array(1) { [0]=> string(60) "$2y$10$WwAxfUZg6zpV17j/ogbLe.uCPlkunSx17sQznR1DIBwQBjAMtS4xa" }
Output for 5.5.7
int(1) array(1) { [0]=> string(60) "$2y$10$m2sho9PAlkuoB1XyOKLnz.7L20qSgCnyXchd.nXH/HPpPF4eDAXIu" }
Output for 5.5.6
int(1) array(1) { [0]=> string(60) "$2y$10$Kk822C1i5LchUs2RZZsCQO8G0/HG037Z5dTDZdDePv9LhrxoteMoa" }
Output for 5.5.5
int(1) array(1) { [0]=> string(60) "$2y$10$M2T.uhCfHBVZclXVzgZkSO4R6UaNpxR5kDb.ex/7R5InjyjhEX0wa" }
Output for 5.5.4
int(1) array(1) { [0]=> string(60) "$2y$10$zLkxNDCQkiOkwmHF.DO6fOWWYhPki1ObOGvx/voe/kmqjMoca.2Qi" }
Output for 5.5.3
int(1) array(1) { [0]=> string(60) "$2y$10$8HxeViDpCQmwICg/a.NEuumUGHIMXg3BRVq0EH.kvTlR9nusCAWSi" }
Output for 5.5.2
int(1) array(1) { [0]=> string(60) "$2y$10$3DtMcu4jffbX2Pv1blGcXuwmakytS7waWwpVQVOgmUCST.necHZSG" }
Output for 5.5.1
int(1) array(1) { [0]=> string(60) "$2y$10$PYPpM17wNGYa6k4vAxvhZ.HaPLYZlqV6emqkEhoZxPFQckbXQbV1G" }
Output for 5.5.0
int(1) array(1) { [0]=> string(60) "$2y$10$84tj0rSeR6WQ8yFBhGGO/eC9N3GE/H6gl2Mg1Y/Jm.y7BMItWN1dK" }
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/n9POX on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/n9POX on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/n9POX on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/n9POX on line 3
Process exited with code 255.