From: [EMAIL PROTECTED]
Operating system: every
PHP version: 4.1.0
PHP Bug Type: Unknown/Other Function
Bug description: wordwrap() with \n
Code: echo wordwrap("ab cd\nef gh ij kl",5);
Output:
ab
cd
ef gh
ij kl
Expected output:
ab cd
ef gh
ij kl
---------
Code: echo wordwrap("ab cd\nef gh ij kl",5,"\n",1);
Output:
ab
cd
ef gh
ij
kl
Expected Output:
ab cd
ef gh
ij kl
--
Edit bug report at http://bugs.php.net/?id=16134&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16134&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16134&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16134&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16134&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16134&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16134&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16134&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16134&r=submittedtwice