#26626 [Opn->WFx]: Ruby style feature: get n times a char string

From: Date: Mon, 15 Dec 2003 09:15:36 +0000
Subject: #26626 [Opn->WFx]: Ruby style feature: get n times a char string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52075@lists.php.net to get a copy of this message
 ID:               26626
 Updated by:       derick@php.net
 Reported By:      rohit_lodha at yahoo dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: Any
 PHP Version:      Irrelevant
 New Comment:

We already have something like this, see http://php.net/str_repeat


Previous Comments:
------------------------------------------------------------------------

[2003-12-15 04:15:36] derick@php.net

We already have something like this, see http://php.net/str_repeat

------------------------------------------------------------------------

[2003-12-15 04:11:37] rohit_lodha at yahoo dot com

Description:
------------
when an integer is multipled with a char or string we should get a new
string with the string repeating n times.

eg: 2 * 's' = 'ss';
4 * "FUN" = "FUNFUNFUNFUN";



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26626&edit=1


Thread (3 messages)

« previous php.bugs (#52075) next »