3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash("test", PASSWORD_BCRYPT, array("cost" => 12)).'yyy';
based on KZ6C3
Output for 7.1.0
$2y$12$m3McKhGflb.hZ1E6c9Q53emxyaLXSXIYrVPiZSRvHmM.aXY2xmOQ6yyy
Output for 7.0.14
$2y$12$hGO7eSgUIvnaSn4dbAgKEetuz2YW/ABT5R.SFLL3sniK6nXTI/bJSyyy
Output for 7.0.6
$2y$12$7vuP5i9Bk2.c53BSwnp./OBi1te3l64tVt02STUgqlpClzfWl2.H.yyy
Output for 7.0.5
$2y$12$IxoSSUnKaLfCf1I8a.9N2u.98E.8ymEY2Jfq8GXif27XhkD2qWfyCyyy
Output for 7.0.4
$2y$12$iwZgxIIsSIudHoUCiiIzNe.TVeXSXKKvevQ93BXhx8e7ggz5Gj9vyyyy
Output for 7.0.3
$2y$12$IwRuMVIGTEHNfDKKeTyQyOGJUzUMZb57/6YE9VFayQmCe3ShZmoxGyyy
Output for 7.0.2
$2y$12$KLLwMR1K1uXNt1Qn4a5R/ujHjgniRN/DxCyYjMnNv.i9pCKL6GK8ayyy
Output for 7.0.1
$2y$12$3foUJS.7e3h1ULDKz9YTcO6f75iqvOO9UgBlW0j1o4f0AQJOlcbL2yyy
Output for 7.0.0
$2y$12$Key7F/nA/sy0FhNB8WYjUeFfKhuKkB7/.LZctDVJC7mQEwNU2xJMmyyy
Output for hhvm-3.12.0
$2y$12$IO0mh9aSjJXZZrb/h1OlmOClD.jtYXWpC50qRGjxSKBMQa/QEEj06yyy
Output for hhvm-3.10.0
$2y$12$joppoYl/JaUwTOWT1fmUieKX2QbiUzp.U53l..V7yu2xOtZ1IA.Yayyy
Output for 5.6.28
$2y$12$LQRAYSwNu.ZlYYhQiLt/UOpCu2UH2xwS84VVLR8kglljlmuXqG90eyyy
Output for 5.6.21
$2y$12$FnuJ1btDkeXiZ7zD15BG5uzEsyV5WUyYLHh11UykSuouhI.bTBrZGyyy
Output for 5.6.20
$2y$12$zbWqCEKCnIucvIrQjVBZo.AmgL.uAB2foSFBIVJ6NnqdA9CS5iPiyyyy
Output for 5.6.19
$2y$12$tiAIZJ/jXUz4UALzg83LDe.uDFc226XajJvgs/QDle8SVLzRXBXcyyyy
Output for 5.6.18
$2y$12$ieB9ytWzUlsWUHjr.72ZGuBEws4jiNHx.XIH3mQJw.XU27n8aVCeiyyy
Output for 5.6.17
$2y$12$vd0ltzv/kD3skMp5RlB8quYcQej/U19MAmHbLOQva5MzAAhgKOJD.yyy
Output for 5.6.16
$2y$12$fH6e6HsPvzg5PAJmlP.RPO11u9/.4opUmHyhFIRv045fvL6dL.Y4Wyyy
Output for 5.6.15
$2y$12$kjO4RIcrU.Qe1brf.e6uoebdkVeKENOXDB/9hWqfFlVARWDLFIDVyyyy
Output for 5.6.14
$2y$12$tmaycL4tJ4dVMpOJvUCA1eVzFjXLzY5wc7OuCx.fGz0EfgY2MqPaayyy
Output for 5.6.13
$2y$12$Z90704CNJeHMyhk5x6KuT.xHDKoYmFVi0Fii31aeZmSYnmZ2rJQquyyy
Output for 5.6.12
$2y$12$r6uuI6EHi4PnEzzuGgB0HO9zK4w/4LxJ9Xp9atRLSPuXXhxBd1W82yyy
Output for 5.6.11
$2y$12$9GSqe5V3E.vf6o0oQge4EurwCGSkaEyZEQd7wJyFXAu5sB729vwl2yyy
Output for 5.6.10
$2y$12$AS/Yh0rNAMbXOktJCqxc/O/CuUlzf8T7TTQQPPkjw6i8EqpNc7Mxuyyy
Output for 5.6.9
$2y$12$y1z1VsD/n.LbDK6GBSkkhuA21ECJHWCSKf58wP5fj8u6sFZ02J0x2yyy
Output for 5.6.8
$2y$12$WCrf/IwxjBFOKHSRO1ZUZu5MnJHrygrFnh1mfd.0zexL7A3dLWMk.yyy
Output for 5.5.35
$2y$12$XTjFgL8X3aqrJS7LIWamW.XzED4Xn5zMvgLc7iLlZnX2GjeFJbV1Kyyy
Output for 5.5.34
$2y$12$3a5bovtutygp8zfIcYA4seeTl2v8Ttox9t9Pv87AqQx3UPEM6ERD6yyy
Output for 5.5.33
$2y$12$CgiH1jL3cPiyHaWuIIU9G.PrJlNLb5UH9leqhrP.ClD4yx89ffmXyyyy
Output for 5.5.32
$2y$12$xhUzOd9VqUwSIu1OiNHQNuZFHSwXENtvNJg5rlQneCjO6q.MdzCMeyyy
Output for 5.5.31
$2y$12$y4.ext3e3Dgt4BdHTHFy9u.ih6u4HjqQUnIcIGhGs8w6.QRKcHyueyyy
Output for 5.5.30
$2y$12$5BRP9bswUHYV3SxLYHaaweNEU99kk3t.9kYQpd5kSFFJ7DZBQ5NUayyy
Output for 5.5.29
$2y$12$GBtI5LIQGVs.OTLTo7VRsOnD06VCqbJDHXrLwtQB5MnB9CpXgDDE6yyy
Output for 5.5.28
$2y$12$sfn2bN2Gk0IOYspHGF71b.lua3GSMqTWJ6tOSKV7WZL8JW4ALGK5myyy
Output for 5.5.27
$2y$12$wbno23VfcNEGdgcSRf7RnOUezj6KozHLR8T6H7SbDSWwBWF.BstVOyyy
Output for 5.5.26
$2y$12$05j21I3mhJLXn2APJwXYeu9aXaShb6edV2xaPers9uXpFrDx7mYOyyyy
Output for 5.5.25
$2y$12$1aiCaTObFWGuFpIcVTEsRuLq88qx8fqVQth9dldKaRXDfHzo1dJsGyyy
Output for 5.5.24
$2y$12$P3irOohDVFDrZq4BUWzeFOu431gipjEgR/ofTSxFrtNz7KRO26VnSyyy
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/POdfc 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/POdfc 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/POdfc 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/POdfc on line 3