- class
System(php\lang\System) - package
std - source
php/lang/System.php
Description
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()- Add jar from file or classpath dir at runtime to runtime.System ::setEngineLanguage()- Change language for engine, for its errors and messages
System::halt(int $status): voidExit from program with status globally
System::gc(): voidRuns the garbage collector
System::getEnv(): string[]System::getProperty(mixed $name, string $def): stringGets a system property by name
System::setProperty(string $name, string $value): stringSets a system property by name and value.
System::getProperties(): arraySystem::setProperties(array $properties): voidSystem::in(): php\io\StreamSystem::out(): php\io\StreamSystem::err(): php\io\StreamSystem::setIn([ php\io\Stream $in): voidSet stdin stream.
System::setOut([ php\io\Stream $out, string|null $encoding): voidSet stdout stream.
System::setErr([ php\io\Stream $err, string|null $encoding): voidSet stderr stream.
System::tempDirectory(): stringReturns temp directory that has write access.
System::userDirectory(): stringSystem::userHome(): stringReturns user.home directory.
System::userName(): stringReturns os user name which logged.
System::osName(): stringReturns Operation System Name, eg: Windows.
System::osVersion(): stringReturns Operation System Version.
System::addClassPath(mixed $file): voidAdd jar from file or classpath dir at runtime to runtime.
System::setEngineLanguage([ string $lang): voidChange language for engine, for its errors and messages
__construct(): void