3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash('mm7515', PASSWORD_DEFAULT, ['cost'=>10]);
Output for 7.1.0
$2y$10$DWQIRssOVTbGwQx2ktkdeeSnl9mgNAmi8CCd6O7z3vegpE6CuxYFG
Output for 7.0.14
$2y$10$8gn0QY5jF0KkEDBA4LPJ0eiejd2IOQrvGvLCUprnqdM8yyzoe0LQe
Output for 7.0.6
$2y$10$hbXjrbQ4C2tEhVljAgMhueh8OTR36EA6Ce.XjJ2Ym6MBanWZ.xTVy
Output for 7.0.5
$2y$10$qUiEWUHsfeKkK5CNupQ02e5ilkUpu9ReLCIdhdQX.69vkTFjddmMG
Output for 7.0.4
$2y$10$KSEEVzINnmKPzBrH0oGRou7nz2PeUFEL1Gp8GxpWkeqTymssbdAEC
Output for 7.0.3
$2y$10$86akJF1ihWCnX9xeME9j.ulS2tZYC/aaB0DeeG3xvaD4yfmEdjE8W
Output for 7.0.2
$2y$10$l8sVm/6VASU4s2ACdWr5XO.UcV4QKSIptpAlHYnxyIif5EEJCisYy
Output for 7.0.1
$2y$10$FEbqLQq87VRmBtfEEZA6Y.tySKbxDNNak8Rn0CgxyckFjwd6jcn0S
Output for 7.0.0
$2y$10$g/sKBOz54GjqlcxCT5TY4OHJ4WlwGbljpz82H/bCa.51JBaKNNwfO
Output for hhvm-3.12.0
$2y$10$iUGK4deFOtC1Ftc5L8VzMuVIUV6lNH0rUzwc5SdANB0pN3m5eRfP2
Output for hhvm-3.10.0
$2y$10$xohg2DST6dCU66P0di7UleWP9W1eyIHt2P7wIcdHLyegyBtr9DuGG
Output for 5.6.28
$2y$10$6KHgKy4y/AwBK0zpKArncuf77nQ3yQ4hR4UGDdhUySPnopCIuJIa.
Output for 5.6.21
$2y$10$QWuQ/Z27njY682FLSSzL5uxA.SlAhijbXN3H1UzdsTVTgoH/E2nsW
Output for 5.6.20
$2y$10$Te3C54LiNQrvHJo7rJUPHOF2SeaasVdvAa9z/xmUYa2FzT4ZNLHUq
Output for 5.6.19
$2y$10$5QuUYoT3di2rI9ZBUmMjg./qB/iRQPuzuoghLNbW8BkkJYPu8OVjS
Output for 5.6.18
$2y$10$XYvvqSJk0kjJW.9XQXOkKes9W1NW2jncOcRZJO4QrcLAUrWyc50pC
Output for 5.6.17
$2y$10$j6iFdRkAopLpXwtaKvA9IuX6nc4TXLVhNsD0.3IdFiu7qVnA4VFqS
Output for 5.6.16
$2y$10$wKduxsEARdWgLtg/xgWR6ecfUAUIEnCRKAnvQwOpLP15RrHXhlm1S
Output for 5.6.15
$2y$10$7w4KW4ZL3RUaqHTMeH9NNODK66a9vy8jJ8PA/sDJU/BUpmi0Q2a3y
Output for 5.6.14
$2y$10$uaZkDULeDXHMYhclfJ2KyueQlIu5lxnFYM5pWIv3E6DF/oSADOZqq
Output for 5.6.13
$2y$10$XemkUy7RVaEFX/9MGzQ7rea7Tsw0u7iCOI99dGYX76WgnB9gLAY66
Output for 5.6.12
$2y$10$NYmqbScKbrbVjMy7F5A6o.L3ynBJBNaPt1sojzZz3mY0EpSOrtb2.
Output for 5.6.11
$2y$10$8UINEHOReK6GKUssIsvCpeyBSc9JfTCADv1AgqeFTRpygttxOCD.S
Output for 5.6.10
$2y$10$mOt62YwaSqFXoJlLc2FltuLhYpxr1HW7dW4FsS2htOn.qAzIAKYjW
Output for 5.6.9
$2y$10$5sKJIXxXgi14LEydK0MSbOH5eTg7TplB87oRyTj2hIaee4MuPC6ti
Output for 5.6.8
$2y$10$XG9MtK60pcasKLSZndfx7.8w3DgFh2wgbaGLZ3VodUTvX7agSSiFq
Output for 5.5.35
$2y$10$bWD7eLIqZ6IR7WER/soWRedUze3vKjsIWYUBSiaSlYlldJM8IcUEK
Output for 5.5.34
$2y$10$kdWGI7xC1Xvw0GjvtMWHguo4e36Q2jTbe4QK6ApIuErkmin.aGRZK
Output for 5.5.33
$2y$10$oVaX2KQOSetnTCd28U9p2ubY1iau/Fa82XTvuQTBPbI7zJBbNzSIC
Output for 5.5.32
$2y$10$WuKwlz.qxSQHmTI/327d6.fB7BfaqlfU47xYTIw/mHE5iO/y/gV6u
Output for 5.5.31
$2y$10$/RRAmJle4Bd6mg1s3rGhW.CqzcWypgYSU66I5q.B2LW1O6gDnVM7C
Output for 5.5.30
$2y$10$WnfaaAQXwwx6j5gGTRwbl.PlDxEjn1kObUWcp8bu9BO7WZ.pS7d2m
Output for 5.5.29
$2y$10$xQ/9yKOXJ1qYinZC4pbgj.jGR4ytXx2pwxmJXzEzIQW.S9CSCL3/6
Output for 5.5.28
$2y$10$5JhkgMV8meOG73T3rsSiWuJaV6qWArx/nFbm2wd8fSWtk7IOIh9Km
Output for 5.5.27
$2y$10$NttpqA/hq2S1h5/IaiT9FO76CU07KhsOUIsdpDSyuUeDU7ii42ftm
Output for 5.5.26
$2y$10$2OWs7r.RHG/4VYerr8HE4O27jBnXwkByJMWzTExt568k/rrPXQ0yu
Output for 5.5.25
$2y$10$XJ6EN77TJ6TFRSOq7k4blu0TJkuNGti0FXvdBCEelK/noERW/GmLi
Output for 5.5.24
$2y$10$F05fuACfBgrImXbg4sOeGeMYKh/eCdKxvsfObSOdVI7DR8uvJtcUu
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/nn1iU on line 2
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/nn1iU on line 2
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/nn1iU on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/nn1iU on line 2
Process exited with code 255.