bantu / ini-get-wrapper
Convenience wrapper around ini_get()
Installs: 1 746 362
Dependents: 2
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 1
Open Issues: 1
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-12-17 01:58:00 UTC
README
Usage
require __DIR__ . '/vendor/autoload.php'; $ini = new bantu\IniGetWrapper\IniGetWrapper; var_dump( $ini->getString('does-not-exist'), $ini->getString('default_mimetype'), $ini->getBool('display_errors'), $ini->getNumeric('precision'), $ini->getBytes('memory_limit') );
NULL
string(9) "text/html"
bool(false)
int(14)
int(134217728)