3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = [ 'cost' => 7, 'salt' => 'BCryptRequires22Chrcts', ]; $hash['hash'][] = password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options); $hash['hash'][] = password_hash("rasmuslerdorf", PASSWORD_DEFAULT); $hash['info'][] = password_get_info($hash['hash'][0]); $hash['info'][] = password_get_info($hash['hash'][1]); $hash['rehash'][] = password_needs_rehash($hash['hash'][0],PASSWORD_BCRYPT,$options); $hash['rehash'][] = password_needs_rehash($hash['hash'][0],PASSWORD_DEFAULT); $hash['rehash'][] = password_needs_rehash($hash['hash'][1],PASSWORD_DEFAULT); var_dump($hash);
Output for 7.1.0
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$6sHHzNo.XCyVMqGat535a.Oj4GmuVhejb2uZRbHwZ/5Dc6FhpGX6y" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.14
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$FNK6iW5tN3UcHHUJY5NGXuULwRGUPAGpeVKFWQEVMDfACW9Rqgi.G" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.12
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$DkheHqdnWX5KSjrtBpe5..ZjU6c/e74pgS4hFafp145xJpdGjQE1O" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.6
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$tAQ99y4uGD4m2KofNtLE0.bFpHyVm1HOQsryQWLJWUTHzLv6G29RO" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.5
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$YujxELnoXffSlXWUnzF.j.Ym0mCFFtHkoYhQn6r6t.BUrRCIll/Wq" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.4
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$hLHfLTHz260S4VYlypwSrOPE9H.wKiJ6UeZlE7p75ntv7to9e5VWq" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.3
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$.6rYYTzC1vE9l563lY1Wyek9ImRSwBHtrlw7sTNBAvgW7/1SfwIvO" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.2
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$FxKT1Hzx0L11XqhptN8yL.NS0yQOOksqXoLSw2QtqZaiwxovVTkui" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.1
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$Y8IfyASyxkRP3wYtgp3t.edLlmoM8RnYNirkIvvRMbNCjMfCRmo6." } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 7.0.0
Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/556F0 on line 7 array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$amnVXrhrWnGYPVgeeeGaE.TGASc.8SPG31.4vAPjklHkTyUJOF/tm" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for hhvm-3.12.0
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$xSZdigyM36CKFOkSb/yaVevipNlnJi7HVSOW73YjGP3RK9IasTh5C" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for hhvm-3.10.0
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$idgSPiK0.5F1CTatNAugSuXFCQ0XGTX324a8bz7/D5Ckietks4ypG" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.28
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$yDwwFGunKdPL9/8fZ2XFLeChWRsUgEoOEeOnPlzgLf8bQP2vl3iJu" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.21
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$1ArCsdv6GqMOAA8KjGlFK.ds/tumz7/RT9uARcAA7Ga6PUZUwFAFq" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.20
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$y53tNvCeXHLwUw9fXxU44ecQ3TvkaShpqVrZvyEoEZsXsARuYPBpi" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.19
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$qKY.cuDAtyPHHWaNrauRIeN9ff6AyAzNoNYl.vNQCdOu.aT8OoRoi" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.18
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$aH6wbVUPmeM/s0XK521lvOyy7Z7SvOSJFMfLgEZJW08wlvYZ9pu6a" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.17
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$W6ktxtMlz9erQzHLcg3FXO4c.pMIjhAoff8ffFZbBiW/Q7yA1xXWq" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.16
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$WFH5HEp916nslsmGwSNuiuZ6yY0PBwsCYDknaLpBLtk04ISWbmeN6" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.15
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$nK/JQeP6HL8t6W/JzmYfDeIE.XcKuJYkbfxWavzU36xQRLEjrVcHi" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.14
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$sADtf.JuXVhSERI1R540cu4r2vWL2DY3ixYB9MwrrHjKGT.fzz9vK" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.13
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$B4TVIVdBx8mmjXKtX/sUjefoAHHxB2AUQSiT2WnOqAORih.7dCl0." } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.12
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$XAViW95v2UGvlBxB2RF.DukXdKR/l/K8yY2RymPExwJ2WbZAxE0Pi" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.11
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$OLeplcOFspskmNQN059Oq.JdlnEmGcxNEg8RaGMifKp1n.CWo4c.i" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.10
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$FRp3KR49b6lgepvoPwV7NOOeR7Eqpnx7eb7Ayteh4qIYZiBOkUDvO" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.9
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$kKlqzhp1VdKSrYX3H3cm5.weQ.YkStevVLQvhQ89oizERXy0eC9cm" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.6.8
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$whiUMI1quK94axrcitUF6O9qNJQWV8Zt4/PuKP2YHaHId5Qgj5J26" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.35
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$eseZObz4x7OrtGERmmnqy.X5e.XZ5ZsX5kJnPovUeZVrsTaXS3AMe" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.34
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$bdGjxmZ/jhplWpg.xTT9oOKtU8XXfcnV8bYokYRhdJEPe05DWHx3O" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.33
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$sljbuHyxx0sesjhGXV8Jj.TxNAtS8vuiOaSWNIhZFM/SmvDzPEuGG" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.32
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$0gkrwDSGt3bqBnhCLiNyoOUvoeAHWLXBvA99D1kgAFIgBeCeplHoW" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.31
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$Wocpivc.jvh9f/xUkgbg6eb2gpyK0bYc.nekoopNzbmMkFD25/y9W" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.30
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$iUERPSl2ABLh51LWI505Uu7/dJNa2u4dmS3gqhs8s5qKY2e5P5VZG" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.29
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$DktutLfMA4mJbKcPPvtbb.CEAJIq.eyQzoJ92Dt/D4z7GN9QOvcq." } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.28
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$ROUPuv.OziRDirMa3icwhOHISsz9alHOyEweJqH7FA5cn.0u46aUi" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.27
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$vyxN3KhC40n6lDhGTU3XPOKSw2qKjzGve1HdcOz1ZrUNnZqxvsA.." } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.26
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$Ad2SOHbcs4LHUQ4yMfb/3.eXX.8gd4yRR/7lE/fNAvRsamxuFOVa6" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.25
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$Vh9bx0JAzufqgNDObbwv6eSzJcOKqCQxCnapc4OcWYGLwdD1NJ8fa" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.5.24
array(3) { ["hash"]=> array(2) { [0]=> string(60) "$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq" [1]=> string(60) "$2y$10$yt1NEuh5qkYtf61CxeBitus5ZvlUXU.xZfMRmMRggRGoTwcASQU5e" } ["info"]=> array(2) { [0]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(7) } } [1]=> array(3) { ["algo"]=> int(1) ["algoName"]=> string(6) "bcrypt" ["options"]=> array(1) { ["cost"]=> int(10) } } } ["rehash"]=> array(3) { [0]=> bool(false) [1]=> bool(true) [2]=> bool(false) } }
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/556F0 on line 7
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/556F0 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/556F0 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/556F0 on line 3
Process exited with code 255.