ID: 29034 Updated by: [EMAIL PROTECTED] Reported By: michaels at crye-leike dot com -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.7 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-07-06 18:59:03] michaels at crye-leike dot com Description: ------------ The wordwrap() function returns a boolean when given an empty string as the first parameter. If the string is not empty, a string is returned as indicated by the documentation. Reproduce code: --------------- print gettype(wordwrap(''))."\n"; Expected result: ---------------- string Actual result: -------------- boolean ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29034&edit=1