| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2001-02-26 07:11 UTC] jmoore@php.net
  [2001-02-26 08:05 UTC] jmoore@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 09:00:01 2025 UTC | 
May be related to bug id #9339. If a word in $string reaches (really! - see below) or exceeds the $width length, $cut is unset *and* a break string like "<br>" is given, wordwrap() runs into a infinite loop... :-( Example: echo wordwrap("1234567890", 10, "<br>"); I'm running php4.0.5-dev-win32-20010220.exe from www.php4win.de witch Apache on W2K AS.