php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pcc at wamail dot net
New email:
PHP Version: OS:

 

 [2005-12-14 01:45 UTC] pcc at wamail dot net
Description:
------------
"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:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-14 01:54 UTC] tony2001@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC