RE: [PHP-I18N] PHP intl APIs - part 1

From: Date: Wed, 18 Jul 2007 08:23:11 +0000
Subject: RE: [PHP-I18N] PHP intl APIs - part 1
References: 1 2 3  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1095@lists.php.net to get a copy of this message
Ok, that's fine, thanks. 1) If I define a collator $coll, and then I reassign $coll to something else (perhaps another collator) is the original collator stored in $coll left in memory or will it get cleaned up at some point? 2) Should we consider any functions useful for debugging memory leaks? I have in mind something like collator_count() to return a count of the existing collators. I know about get_defined_vars() but I was thinking the collators might become separated from a variable and then be lost... tex -----Original Message----- From: Stanislav Malyshev [mailto:stas@zend.com] Sent: Wednesday, July 18, 2007 12:13 AM To: tex@yahoo-inc.com Cc: php-i18n@lists.php.net; 'Hardik' Subject: Re: [PHP-I18N] PHP intl APIs - part 1 > We need some close or release API. > > If I have a multilingual app, I will create a new collator for the > user's language. > I need to close it, or the app will accumulate many collators. Right now I think once the variable is unset, the collator would be freed. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.i18n (#1095) next »