summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug50052.phpt
blob: 97a4481ea9fee5addabc0fbd0e2dd9f767557028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #50052 (Different Hashes on Windows and Linux on wrong Salt size)
--FILE--
<?php
$salt = '$1$f+uslYF01$';
$password = 'test';
echo $salt . "\n";
echo crypt($password,$salt) . "\n";
?>
--EXPECT--
$1$f+uslYF01$
$1$f+uslYF0$orVloNmKSLvOeswusE0bY.