I was messing around with some PHP functions for a bit, and came across wordwrap() - I stuck this code on a page to test it at one point...

Code:
<?php
$var = "Diggidy Doggidy Duggidy";
$var = wordwrap($var, 5, "...<br>");
echo($var);
?>
...and I got this funky output:

Code:
Diggidy...
Doggidy...
Duggidy...
{ ...
...
$forumshow`<...
Z-
Now, I may have not entered the correct parameters, but shouldn't an error message be displayed instead of that odd text?