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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Pull Request

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: Sun Sep 08 23:01:28 2024 UTC