<?php ucwords(string $string, string $separators = " \t\r\n\f\v"): string
<?php } if (! ctype_lower($value)) { $value = preg_replace('/\s+/u', '', ucwords($value)); $value = static::lower(preg_replace('/(.)(?=[A-Z])/u', '$1'.$delimiter, $value)); }