ServerConstAdapter::set( string $name, string|null $value = null )
Set an environment variable.
Parameters
- $name
-
(Required)
- $value
-
(Optional)
Default value: null
Return
(void)
Source
File: vendor/vlucas/phpdotenv/src/Environment/Adapter/ServerConstAdapter.php
public function set($name, $value = null)
{
$_SERVER[$name] = $value;
}