<!DOCTYPE html>
<html>
<body>
<?php
$str = "长单词的一个例子:Supercalifragulistic";
echo wordwrap($str,15,"<br>\n");
?>
</body>
</html>