Reply to Re: [PHP] Wierd error

Your name:

Reply:


Posted by Jochem Maas on 11/17/05 17:53

Chris Boget wrote:
>> why not just do:
>> unset($dbObject);
>
>
> We were using unset() for the longest time but found it doesn't
> seem to free up the memory.

interesting - you are suggesting that settype does free the memory
directly? I have seen a number of posts to internals regarding to
being able to free up memory in long-running/heavy cli scripts...
none of the devs mentioned settype() ... maybe you know something
nobody else does :-)

>
>>> $dbObject &= new IPI_OfficeDetailsInterface();
>>
>> so you want to do a bitwise AND on a non-existant variable and a newly
>> creately object??
>> maybe you meant to do:
>> $dbObject =& new IPI_OfficeDetailsInterface();
>
>
> You are right. My original email contained a typo. It should have
> been '=&' as that is what is in our code.

darn, no easy fix then.

why didn't you paste the code verbatim? - typing it over by hand
(or approximating) is a waste of (other) peoples time. (i.e. they are
trying to help you fix code that doesn't really exist)

>
> thnx,
> Chris
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация