ALIAS

env()

ShortPHP reference for getenv().

Signature

getenv(?string $name = null, bool $local_only = false): array|string|false

Example

env(...);

PHP equivalent

getenv() is the canonical PHP function. ShortPHP provides env() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: getexhandler()

Next: gleven()

Back to reference