php crypt can successfully generate hash if password length lower than 8, but peachpie throws an exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.String.get_Chars(Int32 index)
at Pchp.Library.Strings.DES.Crypt(String password, String setting)
at Pchp.Library.Strings.crypt(String str, String salt)
php crypt can successfully generate hash if password length lower than 8, but peachpie throws an exception:
Example code: