[TYPO3-english] destroy the object

Dmitry Dulepov dmitry.dulepov at typo3.org
Thu Jan 13 16:12:20 CET 2011


Hi!

Dawid Pacholczyk wrote:
> I`m using ext_autoload with t3lib_div::makeInstance to create an
> instance of some object.
>
> I want to - after operations that i need to invoke - destroy the object.
> Is there some smooth way to do that ?

In PHP objects are destroyed when they go out of scope or when you use 
unset($object).

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list