Vidyalelo
PHP · Q18

Functions

Programming · PHP · question 18

Q18

What will be the output of the following PHP code?

A.
Hello World
B.
Hello
World
Answer
C.
Hell 0 Wo rld
D.
World

Answer: Option B

Solution

Answer: Option B
Solution:
The wordwrap() function wraps a string into new lines when it reaches a specific length.