Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 378 Bytes

str_case_kebab.md

File metadata and controls

31 lines (19 loc) · 378 Bytes

Description

Converts a string to kebab case

str_case_kebab(string $string): string

Parameters

string

The input string

Returns

Returns the input string in kebab case.

Examples

Example # 1 Example uses of str_case_kebab()

echo str_case_kebab('Some random sentence');

The above example will output:

some-random-sentence