#26626 [Opn->WFx]: Ruby style feature: get n times a char string
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)