Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
the copy constructor's counterpart in the zend api, the destructor zval_dtor(), does the opposite of the constructor.
the copy constructor' s counterpart in the zend api, the destructor zval_dtor(), does the opposite of the constructor.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
when you register a resource that's going to be in the persistent list, you should add destructors to it both in the non-persistent list and in the persistent list. the destructor in the non-persistent list destructor shouldn't do anything. the one in the persistent list destructor should properly free any resources obtained by that type (e.g. memory, sql links, etc). just like with the non-persistent resources, you *must* add destructors for every resource, even it requires no destructotion and the destructor would be empty. remember, since emalloc() and friends aren't to be used in conjunction with the persistent list, you mustn't use efree() here either.
the one in the persistent list destructor should properly free any resources obtained by that type (e.g. memory, sql links, etc).
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità: