Re: [PHP-DEV] new operator and times() function [diffs] From: Faisal Nasim (faisal <email protected>)
Date: 04/25/00

| On Tue, 25 Apr 2000 thies <email protected> 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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>