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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 + 18 = ?
Subscribe to this entry?

 
 [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

Add a Patch

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-2020 The PHP Group
All rights reserved.
Last updated: Fri Sep 25 07:01:23 2020 UTC