note 104706 added to function.wordwrap

From: Date: Fri, 01 Jul 2011 19:57:01 +0000
Subject: note 104706 added to function.wordwrap
Groups: php.notes 
Request: Send a blank email to php-notes+get-181144@lists.php.net to get a copy of this message
dynastoned, On your code sample, when i use it within an echo statement, the word wrapped text variable outputs before the text that is actually intended to appear before the word variable. For example: world, hello. If "world" was passed through your function, and used in a statement: echo("Hello ". word_split($var, 15) . "\n"); ---- Server IP: 208.69.120.55 Probable Submitter: 174.126.209.214 ---- Manual Page -- http://www.php.net/manual/en/function.wordwrap.php Edit -- https://master.php.net/note/edit/104706 Del: integrated -- https://master.php.net/note/delete/104706/integrated Del: useless -- https://master.php.net/note/delete/104706/useless Del: bad code -- https://master.php.net/note/delete/104706/bad+code Del: spam -- https://master.php.net/note/delete/104706/spam Del: non-english -- https://master.php.net/note/delete/104706/non-english Del: in docs -- https://master.php.net/note/delete/104706/in+docs Del: other reasons-- https://master.php.net/note/delete/104706 Reject -- https://master.php.net/note/reject/104706 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181144) next »