Return to bug50052.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
1.1 misho 1: --TEST-- 2: Bug #50052 (Different Hashes on Windows and Linux on wrong Salt size) 3: --FILE-- 4: <?php 5: $salt = '$1$f+uslYF01$'; 6: $password = 'test'; 7: echo $salt . "\n"; 8: echo crypt($password,$salt) . "\n"; 9: ?> 10: --EXPECT-- 11: $1$f+uslYF01$ 12: $1$f+uslYF0$orVloNmKSLvOeswusE0bY.