From: Mitra <mi...@ea...> - 2003-03-25 04:58:27
|
I'm not sure .... I wrote the zids creator to create a new zids array, Jakub wrote the refill function because he was concerned about the PHP overhead of recreating the object. I don't believe creating new objects is an overhead in PHP - unless of course there is overhead in the constructor, for example to create network connections such as in "new db_AA " I'm not sure how Jakub is using Refill, I can say that none of my code relies on this behavior, I'm always using "new" so its fine to change it for me if it doesn't affect Jakub's code. - Mitra At 3:50 PM +0100 24/3/03, Honza Malik wrote: >Hi Mitra, > > I have a question about zids usage. There is refill($initial) zids >method which: > > a) clears zids array and assigns new values, if $initial variable is > array > > b) adds new zid to array (without clearing), if $initial is single > value > >Is it desired behavior (clearing x keeping content) or is it bug? > > Honza > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Apc-aa-coders mailing list >Apc...@li... >https://lists.sourceforge.net/lists/listinfo/apc-aa-coders -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-0722 Life is a Mystery to be Lived, not a Problem to be Solved |