|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-07 00:17 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
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