Zend
200-530 · Question #542
Which of the following is a valid string function that is used to convert every newline into an HTML break?
The correct answer is C. nl2br(). See the full explanation below for the reasoning.
Question
Which of the following is a valid string function that is used to convert every newline into an HTML break?
Options
- Aexplode()
- Bwordwrap()
- Cnl2br()
- Dbr()
How the community answered
(26 responses)- A8% (2)
- B8% (2)
- C81% (21)
- D4% (1)
Community Discussion
No community discussion yet for this question.