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