1--TEST--
2Test DES with invalid fallback
3--FILE--
4<?php
5
6// musl tries to support invalid DES salts unless they would violate
7// the /etc/passwd format, so we include colons to ensure that musl
8// crypt() will fail on these inputs as well.
9var_dump(crypt("test", "$:#"));
10var_dump(crypt("test", "$:5zd$01\n"));
11
12?>
13--EXPECT--
14string(2) "*0"
15string(2) "*0"
16