PHP wordwrap() May 23, 2012 Pramod T P It wraps a string into new lines when it reaches a specific length. Example <?php echo wordwrap(“It wraps a string into new lines when it reaches a specific length”,5); ?> Output It wraps a string into new lines when it reaches a specific length