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