3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $password = 'baccadmin'; $options = [ 'cost' => 10, ]; echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options) ?>
based on RT43D
Output for 7.2.0
$2y$10$.yy3eof2PRDXUGuCrnubuOcEhSFJSzjBXoJWAMYto3EJAEyIu3Zd.
Output for 7.1.10
$2y$10$UmXoSQLk/iv3ISJF4AqmOuWflVEpd.Ayfcl/dpRsZMNvPG6qO8YMm
Output for 7.1.7
$2y$10$UfFtxlciqhWIgt.22/SMCeCoufSpeV6Kz3QM3omJWy7M78W0plv0K
Output for 7.1.6
$2y$10$MXWP3/UgMb4tax.CeU.5Nu8XkVS9ft3XQwzpXo0RfqugLBOpqMBeG
Output for 7.1.5
$2y$10$AJ9J1uIwoWPmoZjFZYsY6O71htmCX/nJZeKJVDyijYPApONoIRPWC
Output for 7.1.0
$2y$10$3QinWqbWWe0UayD2u1PjJuEGLMOnhosCtkl1tYzSbzcSsFiZEzK/O
Output for 7.0.20
$2y$10$dpsiZge6qPHg3PaD3IKTI.Ix7yXuhLqa8lzTja9HF8uT3Ttmdp0Q.
Output for 7.0.6
$2y$10$xVXZ5US8qgeCKP82WwUAKeEm0cnit4z7ZeHuejLIgOgbNPuFEwZRq
Output for 7.0.5
$2y$10$H6vdaOXUuF4FiAAUDtUM6eo58VTcFoHscvWybJ1IufLNq0rrSdiSm
Output for 7.0.4
$2y$10$OL8dl1w0DOR/qmebnLgWiOzo9dwcG2UfvFnKZU6GHTXq.SkUVnFN.
Output for 7.0.3
$2y$10$1pDDD7m.2OxBHQ1agyr/c.N.htNtpn5UMEVCZvfBGfGac4iBOVJri
Output for 7.0.2
$2y$10$JammoApPmnFyKegHC3PeOuv/V1wkSXqCrETtbazy1THLu1F4X3XlO
Output for 7.0.1
$2y$10$GH.6R42/CQOvGtO7Ze51yuFzLVtUR8mV8a3dmxVMX4sMegys8xt/S
Output for 7.0.0
$2y$10$bEvVN5CKu/zRi/3eOt1xCuNLsyYiJ7eIYkPd/BtCNWxbs9Wb0iJYO
Output for 5.6.28
$2y$10$JXNf9CuXEfh9QNWH6gnm0uCQUtvKRNeFtDvUHJOu3WWvMi5Sx36Hu
Output for 5.6.21
$2y$10$u0T2obJDKagcKrGSvHPWR.kwYTqIwWnG46ZcIyDs/1AcR8Z8t9lJq
Output for 5.6.20
$2y$10$fg7lhPBX4v2S8.TfKAAjMOQx8Yh.5iRr.UkojVRVjPEIlZw33g3MS
Output for 5.6.19
$2y$10$iEAEKNKMT8OJBLTFse1Se.yemhIaLIqXO5ZHxc9Slj8rI2c29xxB6
Output for 5.6.18
$2y$10$PpelIEUngp0uLUDJFUGIzO9KjP9heI5RH93R4vpVYhqBdRxOp6ndq
Output for 5.6.17
$2y$10$4i2RnXrAtqSRoLkAz.T3lONqSSNoHyJurZieuKNtvwNCsxN.swJN.
Output for 5.6.16
$2y$10$iL0wphRIumR.pPZhtk/BeeGx7kCYcsZicO0Np9Lrji.aAQLwfUO42
Output for 5.6.15
$2y$10$yTe3I4NWIjIWV.cFQpfWKOUEQSVTC1cdh/T8818PmW4NZBWHBiQyq
Output for 5.6.14
$2y$10$FCkie8Q4bTZJRD.sWggMHuP031nxLs/g1AIGGDdtVtTdYT91yfFNm
Output for 5.6.13
$2y$10$bv4EMxV.4JsB89X7AAJe5uz.7g1kSkUnTeowzpBQHcqLxOo.1z9La
Output for 5.6.12
$2y$10$zU9hD76YJeOxQtjptmd5Eu.DykhBEiM1h6MkTKOO65QS71T2MWTS.
Output for 5.6.11
$2y$10$2rX4B4q5W1OOChmvTxFUPuJjTTfex/qjQw/YbW7GeWY/gcLn3qOqa
Output for 5.6.10
$2y$10$Tj1q9SNEdLdn1gEblm5nPO/SYX68FSBEfI0Sv09ul61LJ./QDH2HO
Output for 5.6.9
$2y$10$BHkmNRsjM/XcasC9XOZcRON.FUGRYjrZANd3eZIBt2Bm3stBfka6.
Output for 5.6.8
$2y$10$2HsZ6MyvfYIH96EXR0bjVOXmuTHJfp4gFJJ.3QQxYi8L6ULqCQ4SS
Output for 5.5.35
$2y$10$FjjCQrmRBkyxbFFyd9GQjOf7e1ZsTEl8MwviCgrcWpGEydIqVKVNu
Output for 5.5.34
$2y$10$54wcH/5YLf2xjyxxI2Xxxu7uDeKNIxLYs6hlRSfxm8oyikzo6Ioay
Output for 5.5.33
$2y$10$9Er0ZwkJf0iQTZzVD724BecttGBpL2DF6SoqjJ1neJUIi4.Xm0oKK
Output for 5.5.32
$2y$10$HJ9rT6Wcb/IFoUfTYddq2.lQYJaE/jwA1QQCu.s.MnnAiLPyIIc42
Output for 5.5.31
$2y$10$sb7fjW2NHVMHvQL/yPb9JeOZeUE7U83YNO1adeQtG2QDmeqv48c0e
Output for 5.5.30
$2y$10$JDufSJmX6C/puifr6dQsu.oUxF1.jWdyrji1gaM5QdfVT76iFuYqG
Output for 5.5.29
$2y$10$tMi693yaDA94uw7Jh2LLT.tSfprtGOAQ6o7zmnhZdFemkXW2AN7PO
Output for 5.5.28
$2y$10$kfxTbcg4SaH0SP8uoZ86xOv169Mc/MRoT3AKlmlOgyLUW2T1YmVH.
Output for 5.5.27
$2y$10$xMkGEdYTKB..I7yxcc1wp.Dh82s5lqsH6q2DAB3YzKXjGBvyrxB9q
Output for 5.5.26
$2y$10$OT./3zP0vizma8A8r8Tsu.UfmPDhxnQ56E0kdGIDVM6f309D3wQB.
Output for 5.5.25
$2y$10$VJ5ZQdU1wKmZu/wpE.8RjOXdoHASdcw3RcU0E1M8j.AwfAV1ezxCS
Output for 5.5.24
$2y$10$tO7QkV8H2zmHflYEAjozEejP7Lm0b8lD7b5nypKSu3PfOeTTzNoHW
Output for 5.4.12 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/VeOk4 on line 8
Process exited with code 255.
Output for 5.3.22 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/VeOk4 on line 4
Process exited with code 255.