?
What will be the output of the following PHP code?
What will be the output of the following PHP code?
<?php
$str = "Hello World"
echo wordwrap($str,5,"n");
?>
<?php
$str = "Hello World"
echo wordwrap($str,5,"n");
?>
Answer & Solution
Correct Answer:
Option
B
The wordwrap() function wraps a string into new lines when it reaches a specific length.
Join the Discussion
Login to post a comment or share your explanation.
Login