Fedora Packages

php-phplang-scope-exit

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

Releases Overview

Release Stable Testing
Fedora Rawhide 1.0.0-12.fc40 -
Fedora 40 1.0.0-12.fc40 -
Fedora 39 1.0.0-10.fc39 -
Fedora 38 1.0.0-9.fc38 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at php-phplang-scope-exit dash maintainers at fedoraproject dot org.



Sources on Pagure