putenv
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets the value of an environment variable
putenv
(
string $assignment
):
bool
protected function
tearDown
():
void
{
unset(
$_ENV
[
'FOO'
],
$_SERVER
[
'FOO'
]);
putenv
(
'FOO'
);
m
::
close
();
}
tests/Foundation/Bootstrap/LoadEnvironmentVariablesTest.php
{
parent
::
tearDown
();
putenv
(
'SHELL_VERBOSITY'
);
ScheduleListCommand
::
resolveTerminalWidthUsing
(
null
);
}
tests/Integration/Console/Scheduling/ScheduleListCommandTest.php