This commit is contained in:
2021-03-23 19:19:16 +08:00
parent 1d265d6f7f
commit bdbd91d8ab
3 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -633,7 +633,7 @@ if (!function_exists('env')) {
* @param null $default
* @return array|string|null
*/
function env($key, $default = null): null|array|string
#[Pure] function env($key, $default = null): null|array|string
{
$env = getenv($key);
if ($env === false) {