wordwrap() requires one argument, the string to be transformed.
By default, wordwrap() wraps lines every 75 characters and uses \n as its line-break character.
<?php
$string = "this is a test.this is a test.this is a test.this is a test.this is a test.this is a test.";
$string .= "this is a test.this is a test.this is a test.this is a test.this is a test.this is a test.";
print wordwrap($string);
?>
Related examples in the same category