#35665 [Opn->Csd]: str_repeat() improper error message spelling

From: Date: Wed, 14 Dec 2005 00:54:33 +0000
Subject: #35665 [Opn->Csd]: str_repeat() improper error message spelling
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90407@lists.php.net to get a copy of this message
ID: 35665 Updated by: tony2001@php.net Reported By: pcc at wamail dot net -Status: Open +Status: Closed Bug Type: Strings related Operating System: windows 2000 sp3 PHP Version: * New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2005-12-14 01:45:26] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35665&edit=1

« previous php.bugs (#90407) next »