mirror of
https://github.com/ZeroDream-CN/PHPMC7
synced 2024-11-24 21:22:55 +08:00
22 lines
385 B
PHP
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;
|
||
|
}
|
||
|
}
|