str::widont

The widont function makes sure that there are no typographical widows at the end of a paragraph – that's a single word in the last line

str::widont($string = '')

Parameters

$string (string)

Return values

string