Re: new operator and times() function [diffs]
| From: | Andi Gutmans | Date: | Tue, 25 Apr 2000 08:57:48 +0000 |
| Subject: | Re: new operator and times() function [diffs] | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18176@lists.php.net to get a copy of this message | ||
On Tue, 25 Apr 2000 thies@digicol.de wrote:
> On Tue, Apr 25, 2000 at 01:22:50PM +0500, Faisal Nasim wrote:
> > Hi,
> >
> > Just implemented the 'x' operator as in Perl, and a
> > corresponding times() function.
> >
> > print "blah" x 10;
>
> personally i don't think we need the 'x' operator in the
> language. but that's just my 2c.
I also don't think we should put this into the language. There is no
reason not to use str_repeat().
Do you really see a need for this to be in the language level?
Andi