
| Path : /usr/src/php/ext/standard/tests/strings/ |
| Current File : //usr/src/php/ext/standard/tests/strings/bug51059.phpt |
--TEST-- Bug #51059 crypt() segfaults on certain salts --FILE-- <?php $res = crypt(b'a', b'_'); if ($res === b'*0' || $res === b'*1') echo 'OK'; else echo 'Not OK'; ?> --EXPECT-- OK