Str::encoding()
Tries to detect the string encoding
Str::encoding(string $string): string
Parameters
| Name | Type | Default |
|---|---|---|
| $stringrequired | string |
no default value |
Return type
string
Tries to detect the string encoding
Str::encoding(string $string): string
| Name | Type | Default |
|---|---|---|
| $stringrequired | string |
no default value |
string