X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/psy/psysh/src
home
/
prisjneg
/
public_html
/
vendor
/
psy
/
psysh
/
src
/
📁
..
📁
CodeCleaner
📄
CodeCleaner.php
(11.08 KB)
📁
Command
📄
ConfigPaths.php
(10.24 KB)
📄
Configuration.php
(56.86 KB)
📄
Context.php
(7.63 KB)
📄
ContextAware.php
(567 B)
📄
EnvInterface.php
(443 B)
📁
Exception
📄
ExecutionClosure.php
(2.25 KB)
📁
ExecutionLoop
📄
ExecutionLoopClosure.php
(2.78 KB)
📁
Formatter
📁
Input
📁
Output
📄
ParserFactory.php
(750 B)
📁
Readline
📁
Reflection
📄
Shell.php
(48.88 KB)
📁
Sudo
📄
Sudo.php
(5.66 KB)
📄
SuperglobalsEnv.php
(620 B)
📄
SystemEnv.php
(666 B)
📁
TabCompletion
📁
Util
📁
VarDumper
📁
VersionUpdater
📄
functions.php
(16.71 KB)
Editing: SystemEnv.php
<?php /* * This file is part of Psy Shell. * * (c) 2012-2023 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy; /** * Environment variables implementation via getenv(). */ class SystemEnv implements EnvInterface { /** * Get an environment variable by name. * * @return string|null */ public function get(string $key) { if (isset($_SERVER[$key]) && $_SERVER[$key]) { return $_SERVER[$key]; } $result = \getenv($key); return $result === false ? null : $result; } }
Upload File
Create Folder