?? [w?:d r?p] ?? [w?d r?p]

n ?? ? ??

PHP ???() ?? ???

wordwrap() ??? ??? ??????

wordwrap() ??? ??? ??? ?? ???? ???? ?? ?????. ??? wordwrap(string,width,break,cut)???. ??? ????? ???? ??? ???? ?????. , false? ?????.

??: ??? ??? ?? ??? ???

??: wordwrap(string,width,break,cut)

????:

ParametersDescription
??? ??, ??? ???? ?????
width?? ??, ?? ? ??? ?????. ???? 75
break?? ??, ?? ??? ???? ??? ?????( ??? ?? ??) , ???? "n"???.
cut?? ??, ??? ???? ? ??? ? ???? ??? ?????. false - ???? ? ?? ? ????. true - ? ??.

??: ??? ????? ???? ??? ???? ?????. ???? false? ?????.

PHP ???() ?? ?

<?php
$i = "I love programming. It's fun.";
$j = wordwrap($i,10,"<br>\n",true);
echo $j;
?>
rerun ?????

??? ????? ??? "???? ??"??? ??????. ??? ????? ???

??:

I love
programmin
g. It's
fun.