pClosure can be used to create closure functions that work with any PHP 5 version. It uses a lambda function to enclose the closure object for simple execution. Additionally, it supports scalar type hinting and the ability to change execution scope of the closure object using a supported interface.
Image.class is a PHP class that can be used to generate images with graphic primitives defined programmatically. It can create an empty image with a given size or load an existing image from a JPEG, PNG, or GIF image. The class can render graphic primitives in the image like drawing a text string with optional border, copying parts of the image to another position, drawing ellipses, rectangles, and lines, and scaling the image to a given size. The generated image can be saved also in JPEG, PNG, or GIF formats.
Smarty Template Engine Theme Selection Class is a PHP class that can load a Smarty template theme defined in XML. It can parse a theme definition in an XML file located in the directory with the same name as the theme name. The class can return details of the theme like the name, version, creator name, URL, email address, description, and publication date. The class can also delete the directory of a given theme and its contents.