|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35665 str_repeat() improper error message spelling
Submitted: 2005-12-14 01:45 UTC Modified: 2005-12-14 01:54 UTC
From: pcc at wamail dot net Assigned:
Status: Closed Package: Strings related
PHP Version: * OS: windows 2000 sp3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pcc at wamail dot net
New email:
PHP Version: OS:


 [2005-12-14 01:45 UTC] pcc at wamail dot net
"longer then" should change to longer than"

Warning: str_repeat() [function.str-repeat]: You may not create strings longer then 2147483647 bytes in C:\prj\Internet\mastwebs\NorthWing\test-simple.php on line 99

Reproduce code:
$s = str_repeat("abcdef123456", 0xfffffff) ;

Expected result:
(see Description: above)

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-14 01:54 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 11:01:24 2023 UTC