Bug #16134: wordwrap() with \n

From: Date: Mon, 18 Mar 2002 08:20:02 +0000
Subject: Bug #16134: wordwrap() with \n
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2732@lists.php.net to get a copy of this message
From: junk@singles.de 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

« previous php.bugs (#2732) next »