3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 64; $i < 80; ++$i) { echo "{$i}.\t".password_hash(str_repeat('a', $i), PASSWORD_DEFAULT, array('salt' => '$2y$04$usesomesillystringforsalt$'))."\n"; }
based on 61VZq
Output for 7.0.0 - 7.2.0
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 64. $2y$10$JDJ5JDA0JHVzZXNvbWVzaO5ruRwPue8woBZNAHgTlY3cx.vWIBaES Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 65. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOR7Bkune8gRjH./XkxGHbggcEvzIZnym Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 66. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOp7pCMeR509jBz39pfENa1do751zvia2 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 67. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOcZsXJ8/ZdXmBgD6F6ljTIfwsKUcjqNW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 68. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOyyltypuZ6FFqZV45rPFFNZuUmW1z5cC Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 69. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOgKixPs6uSkzxlf4FlvWEsRgj4VC.rEC Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 70. $2y$10$JDJ5JDA0JHVzZXNvbWVzaO8l5MzvnysA78m.6WRTIueljRpk.FX42 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 71. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOuL7qO6novKFzmUthBc2/GN47yzTNgva Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 72. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 73. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 74. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 75. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 76. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 77. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 78. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/R5F4G on line 3 79. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW
Output for 5.5.24 - 5.6.28
64. $2y$10$JDJ5JDA0JHVzZXNvbWVzaO5ruRwPue8woBZNAHgTlY3cx.vWIBaES 65. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOR7Bkune8gRjH./XkxGHbggcEvzIZnym 66. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOp7pCMeR509jBz39pfENa1do751zvia2 67. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOcZsXJ8/ZdXmBgD6F6ljTIfwsKUcjqNW 68. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOyyltypuZ6FFqZV45rPFFNZuUmW1z5cC 69. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOgKixPs6uSkzxlf4FlvWEsRgj4VC.rEC 70. $2y$10$JDJ5JDA0JHVzZXNvbWVzaO8l5MzvnysA78m.6WRTIueljRpk.FX42 71. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOuL7qO6novKFzmUthBc2/GN47yzTNgva 72. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 73. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 74. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 75. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 76. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 77. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 78. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW 79. $2y$10$JDJ5JDA0JHVzZXNvbWVzaOhSeXmLRewtgIxZ74CldxJwutc3VPOvW
Output for 5.3.19 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/R5F4G on line 3
Process exited with code 255.