MDA (Multi Dimensional Array) access helpers for PHPs Superglobals
$_GET['test'] = 'value';
$v = get('test'); //returns 'value'
$v = get('test2'); //returns NULL
Takes an MDA key and retrieves it from $_GET If $name=false the entirety of $_GET is returned
Same as get() except with $_POST
Same as get() except with $_REQUEST
Same as get() except with $_SERVER
Without $value being passed functions the same as get() except with $_SESSION When a value is passed it will set that value to the key
Takes an unlimited amount of keys and will unset them
Language | php |
Version | 0.0.0 |
Git URL | https://github.com/nullivex/func-mda-glob |
License | |
Description | MDA (Multi Dimensional Array) access helpers for PHP's Superglobals |
Keywords |