Re: new operator and times() function [diffs]

From: Date: Tue, 25 Apr 2000 09:02:38 +0000
Subject: Re: new operator and times() function [diffs]
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-18177@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? My local documentation (v4) doesn't have str_repeat(), but I see that it there and works fine.

« previous php.dev (#18177) next »