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

From: Date: Tue, 25 Apr 2000 08:27:47 +0000
Subject: Re: new operator and times() function [diffs]
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-18175@lists.php.net to get a copy of this message
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. > print times ( "blah" , 10 ); str_repeat() already does that. > > Both will print the expression 'blah' ten times. > > > Enjoy! > > Faisal > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#18175) next »