1.1 misho 1: --TEST-- 2: Bug #51059 crypt() segfaults on certain salts 3: --FILE-- 4: <?php 5: $res = crypt(b'a', b'_'); 6: if ($res === b'*0' || $res === b'*1') echo 'OK'; 7: else echo 'Not OK'; 8: 9: ?> 10: --EXPECT-- 11: OK