PHP String Truncation Task
PHP String Truncation Task: a task in Terminal-Lego-15k (Harbor dataset). Create a PHP function that truncates a string to a specified number of characters and appends an ellipsis ( ... ) if any characters are removed.
Part of PrimeIntellect/Terminal-Lego-15k.