Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #21287
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Filippo Toso <newsgroup@creativepark.it> |
| Newsgroups | it.comp.www.php |
| Subject | Re: ottenere funzione di shutdown corrente |
| Date | Sun, 27 Nov 2016 23:06:29 +0100 |
| Organization | Creative Park |
| Lines | 18 |
| Message-ID | <ea13mvFrooaU3@mid.individual.net> (permalink) |
| References | <o04ncv$19ac$1@gioia.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net B2eheGNss88lX7q6w1W5Gwab6ofFPeVik2GtofRwXRsK18UI60 |
| Cancel-Lock | sha1:Y1VG7rSmu2I/cSNCs6xU672/KRw= |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 |
| In-Reply-To | <o04ncv$19ac$1@gioia.aioe.org> |
| Xref | csiph.com it.comp.www.php:21287 |
Show key headers only | View raw
> Per registrarla > register_shutdown_function() > Ma per sapere se è già registrata? register_shutdown_function() può essere chiamata più volte per creare una catena di esecuzioni (terminabile tramite exit()). Non esiste un modo per sapere quali callback sono state già registrate. L'unico modo per ottenere un risultato simile è creare un wrapper (funzione o classe) che si occupa della registrazione delle callback, mantiene uno storico ed eventualmente implementa un sistema per evitare l'esecuzione di specifiche funzioni in casi particolari (es. se viene rimossa da un array, etc.). -- Formazione professionale su marketing, innovazione e persuasione: https://www.MarketingAcademy.it/news
Back to it.comp.www.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ottenere funzione di shutdown corrente alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-11-11 16:16 +0100
Re: ottenere funzione di shutdown corrente Filippo Toso <newsgroup@creativepark.it> - 2016-11-27 23:06 +0100
Re: ottenere funzione di shutdown corrente alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-01 11:21 +0100
csiph-web