1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2024-12-01 02:02:52 +08:00
PHPMC7/include/core/PHPMC/System.php
2018-09-10 14:53:00 +08:00

22 lines
385 B
PHP

<?php
class System {
public function get_PHP_Version() {
return PHP_VERSION;
}
public function get_php_sapi_name() {
return php_sapi_name();
}
public function get_php_os() {
return php_uname('s') . php_uname('r');
}
public function get_server_software() {
return $_SERVER['SERVER_SOFTWARE'];
}
public function get_phpmc_version() {
return PHPMC_VERSION;
}
}