3v4l.org

run code in 200+ PHP versions simultaneously
<?php for ($i = 64; $i < 80; ++$i) { echo "{$i}.\t".crypt(str_repeat('a', $i), '$2y$04$usesomesillystringforsalt$')."\n"; } $x = crypt("abc\0defg", '$2y$04$usesomesillystringforsalt$'); var_dump($x === crypt("abc", '$2y$04$usesomesillystringforsalt$'));
Output for 5.4.0 - 7.4.2
64. $2y$04$usesomesillystringforeiLXPGwjbyOqZNpDwqJ.hfa2qhPkut26 65. $2y$04$usesomesillystringforeU4vYBn7x9pdILwB8OAHlk1Vf3y48Iim 66. $2y$04$usesomesillystringforeP4/YJJmzo4WNisJVgZbVjXhKumyNr5O 67. $2y$04$usesomesillystringforeSjP1M6ZjHoahZD.X5XvsYXiZTD9X3jO 68. $2y$04$usesomesillystringforeZ6MgmedV/24pyyN/NdEQ0slcGn6OSWu 69. $2y$04$usesomesillystringforewLCyeEQr.uv1PurVQbmyvn1CiMHkuOO 70. $2y$04$usesomesillystringforeuz0ii4g3FSB9gZbluKLCLd4hyjXNmHa 71. $2y$04$usesomesillystringfore1eIfo5eNePZAtjHWj4KoOVT6m8h3CyW 72. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 73. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 74. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 75. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 76. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 77. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 78. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy 79. $2y$04$usesomesillystringfore39ry.JR5AyVOHPe1l.TJTnxjMVdtkBy bool(true)