1--TEST-- 2Bug #54721 (Different Hashes on Windows, BSD and Linux on wrong Salt size) 3--FILE-- 4<?php 5echo crypt("", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 6echo crypt("b", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 7echo crypt("bu", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 8echo crypt("bug", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 9echo crypt("pass", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 10echo crypt("buged", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 11echo crypt("aaaaaaaaaaaaaaaaaaaaaaaaa ", '$1$dW0.is5.$10CH101gGOr1677ZYd517.') . "\n"; 12?> 13--EXPECT-- 14$1$dW0.is5.$I0iqTYHPzkP4YnRgnXxZW0 15$1$dW0.is5.$KaspRpPQ9U7Xb5Vv5c.WE/ 16$1$dW0.is5.$X9G1x/Ep8zYQSrU4/lKUg. 17$1$dW0.is5.$wE5Rz/HxPtDMfqil6kK980 18$1$dW0.is5.$2E4/ZDY1vr73HqLl1bLs9. 19$1$dW0.is5.$lvGhphTQwqgKxWhWwYERr1 20$1$dW0.is5.$XzsWcLSBj2BvhOKH0xdpZ0 21