1--TEST-- 2crypt() function - long salt 3--FILE-- 4<?php 5 6$b = str_repeat("A", 124); 7echo crypt("A", "$5$" . $b)."\n"; 8$b = str_repeat("A", 125); 9echo crypt("A", "$5$" . $b)."\n"; 10$b = str_repeat("A", 4096); 11echo crypt("A", "$5$" . $b)."\n"; 12 13?> 14--EXPECT-- 15$5$AAAAAAAAAAAAAAAA$frotiiztWZiwcncxnY5tWG9Ida2WOZEximjLXCleQu6 16$5$AAAAAAAAAAAAAAAA$frotiiztWZiwcncxnY5tWG9Ida2WOZEximjLXCleQu6 17$5$AAAAAAAAAAAAAAAA$frotiiztWZiwcncxnY5tWG9Ida2WOZEximjLXCleQu6 18