- класс
System
(php\lang\System
) - пакет
std
- исходники
php/lang/System.php
Описание
Class System
System ::
halt()
- Exit from program with status globallySystem ::
gc()
- Runs the garbage collectorSystem ::
getEnv()
System ::
getProperty()
- Gets a system property by nameSystem ::
setProperty()
- Sets a system property by name and value.System ::
getProperties()
System ::
setProperties()
System ::
in()
System ::
out()
System ::
err()
System ::
setIn()
- Set stdin stream.System ::
setOut()
- Set stdout stream.System ::
setErr()
- Set stderr stream.System ::
tempDirectory()
- Returns temp directory that has write access.System ::
userDirectory()
System ::
userHome()
- Returns user.home directory.System ::
userName()
- Returns os user name which logged.System ::
osName()
- Returns Operation System Name, eg:Windows
.System ::
osVersion()
- Returns Operation System Version.System ::
addClassPath()
- Добавить jar файл или папку classpath во время выполнения.System ::
setEngineLanguage()
- Меняет язык для движка, для его ошибок и сообщений
System::halt(int $status): void
Exit from program with status globally
System::gc(): void
Runs the garbage collector
System::getEnv(): string[]
System::getProperty(mixed $name, string $def): string
Gets a system property by name
System::setProperty(string $name, string $value): string
Sets a system property by name and value.
System::getProperties(): array
System::setProperties(array $properties): void
System::in(): php\io\Stream
System::out(): php\io\Stream
System::err(): php\io\Stream
System::setIn([ php\io\Stream $in): void
Set stdin stream.
System::setOut([ php\io\Stream $out, string|null $encoding): void
Set stdout stream.
System::setErr([ php\io\Stream $err, string|null $encoding): void
Set stderr stream.
System::tempDirectory(): string
Returns temp directory that has write access.
System::userDirectory(): string
System::userHome(): string
Returns user.home directory.
System::userName(): string
Returns os user name which logged.
System::osName(): string
Returns Operation System Name, eg: Windows
.
System::osVersion(): string
Returns Operation System Version.
System::addClassPath(mixed $file): void
Добавить jar файл или папку classpath во время выполнения.
System::setEngineLanguage([ string $lang): void
Меняет язык для движка, для его ошибок и сообщений
__construct(): void