3v4l.org

run code in 300+ 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.3.7 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.26, 8.0.0 - 8.0.13, 8.1rc1 - rc3
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)
Output for 5.3.2 - 5.3.6
64. $2TaYnn8Z9M/I 65. $2TaYnn8Z9M/I 66. $2TaYnn8Z9M/I 67. $2TaYnn8Z9M/I 68. $2TaYnn8Z9M/I 69. $2TaYnn8Z9M/I 70. $2TaYnn8Z9M/I 71. $2TaYnn8Z9M/I 72. $2TaYnn8Z9M/I 73. $2TaYnn8Z9M/I 74. $2TaYnn8Z9M/I 75. $2TaYnn8Z9M/I 76. $2TaYnn8Z9M/I 77. $2TaYnn8Z9M/I 78. $2TaYnn8Z9M/I 79. $2TaYnn8Z9M/I bool(true)
Output for 5.3.0 - 5.3.1
64. $23CMV64s/TOc 65. $23CMV64s/TOc 66. $23CMV64s/TOc 67. $23CMV64s/TOc 68. $23CMV64s/TOc 69. $23CMV64s/TOc 70. $23CMV64s/TOc 71. $23CMV64s/TOc 72. $23CMV64s/TOc 73. $23CMV64s/TOc 74. $23CMV64s/TOc 75. $23CMV64s/TOc 76. $23CMV64s/TOc 77. $23CMV64s/TOc 78. $23CMV64s/TOc 79. $23CMV64s/TOc bool(true)
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17

Process exited with code 139.

preferences:
46.85 ms | 465 KiB | 5 Q