dseguy, 4 months ago French How to clean after oneself in #PHP ? There are three methods to ensure that this little cleanup code is always executed, no matter what : register_shutdown_function(), function __destruct() and try-finally. #phptip #phptrick https://www.exakat.io/en/how-to-clean-after-oneself-in-php/
How to clean after oneself in #PHP ?
There are three methods to ensure that this little cleanup code is always executed, no matter what : register_shutdown_function(), function __destruct() and try-finally.
#phptip #phptrick
https://www.exakat.io/en/how-to-clean-after-oneself-in-php/
velkuns, 4 months ago French @dseguy cool article 👍 Just a typo in second example: the first method should be __construct(), I guess 🙂
@dseguy cool article 👍
Just a typo in second example: the first method should be __construct(), I guess 🙂
dseguy, 4 months ago French @velkuns Fixed. Thanks...
@velkuns Fixed. Thanks...
Add comment