Source Package: php-phplang-scope-exit (1.0.0-15.fc43)
Emulation of SCOPE_EXIT construct from C++
This simple class provides an implementation of C++'s SCOPE_EXIT, or GoLang's defer. To use, assign an instance of this object to a local variable. When that variable falls out of scope (or is explicitly unset), the callback passed to the constructor will be invoked. This is useful, for example, to aid cleanup at the end of a function. Autoloader: /usr/share/php/PhpLang/scope-exit-autoload.php
Package information
- Homepage
- [https://github.com/phplang/scope-exit]
- License
- BSD-3-Clause
- Maintainer del pacchetto downstream
- remiObserved Nov 24, 2026 [source]
The following binary packages are built from this source package:
- php-phplang-scope-exit
Emulation of SCOPE_EXIT construct from C++
