ExamVeda
Login
Home
This question belongs to PHP Functions
Functions
?

What will be the output of the following PHP code?
<?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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.