Projects / superGlobals

superGlobals

superGlobals is a PHP library that transparently injects into a superglobal or global variable while keeping all functionality of a regular array, but extending it with type casting and URI parsing into that array. It can use memcached for additional performance and can interact with custom DB abstractions (mostly PEAR). It may filter, cast, or validate variables as: boolean, integer, float, string, array, object, IPv4 address, IPv6 address, regular expression, URL, URL encoded string, HTML escaped string, or SQL escaped string. It is possible to pass a function name callback as a casting or validation method. Also, it is possible to pass multiple casting methods for each variable, which is useful for array processing.

Tags
Licenses
Operating Systems
Implementation
Translations

RSS Recent releases

  •  29 Mar 2009 20:45

    Release Notes: This release adds the superGlobal::start method for running a library without registering any params. It fixes a single notice about undefined variables in some PHP versions.

    •  24 Mar 2009 11:26

    Release Notes: This is the initial release.

    Screenshot

    Project Spotlight

    opendkim

    A C implementation of the DKIM message signing/verifying standard, both an API and a filter.

    Screenshot

    Project Spotlight

    Recoll

    A personal full text desktop search package.