Re: [PHP4BETA] big problem in new libzend CVS

From: Date: Tue, 12 Oct 1999 09:21:58 +0000
Subject: Re: [PHP4BETA] big problem in new libzend CVS
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-5499@lists.php.net to get a copy of this message
On Mon, 11 Oct 1999, Andi Gutmans wrote: > I'm dead tired but I think I fixed it. So it might not be a great patch. > Please check it out and see if it works. I've just commited it. seems to do the job;-) tc > > Andu > > At 09:45 PM 10/11/99 +0200, Thies C. Arntzen wrote: > ><?php > >class test > >{ > > cfunction add($val,$tag="") > > { > > return; > > } > > > > cfunction parse($text) > > { > > $tag = array("zeev","andi"); > > > > $this->add($tag[ 1 ],substr($tag[ 0 ],1)); // this is the evil line > > } > >} > > > >$dok = new test; > > > >for ($inx = 0; $inx < 100; $inx++) > >{ > > $dok->parse("<xA>hallo</xA>"); > > echo $inx."\n";flush(); > >} > >?> > > --- > Andi Gutmans <andi@zend.com> > http://www.zend.com/ > > 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.version4 (#5499) next »