src/Environment.php
public static function setupGlobalVariables(): void
	{
		$_SERVER = array_intersect_key($_SERVER, array_flip([
			'PHP_SELF',
			'SCRIPT_NAME',
			'SERVER_ADDR',
			'SERVER_SOFTWARE',
			'HTTP_HOST',
			'DOCUMENT_ROOT',
			'OS',
			'argc',
			'argv',
		]));
		$_SERVER['REQUEST_TIME'] = 1234567890;
		$_ENV = $_GET = $_POST = [];
	}
public static function setupGlobalVariables(): void
	{
		$_SERVER = array_intersect_key($_SERVER, array_flip([
			'PHP_SELF',
			'SCRIPT_NAME',
			'SERVER_ADDR',
			'SERVER_SOFTWARE',
			'HTTP_HOST',
			'DOCUMENT_ROOT',
			'OS',
			'argc',
			'argv',
		]));
		$_SERVER['REQUEST_TIME'] = 1234567890;
		$_ENV = $_GET = $_POST = [];
	}
public static function setupGlobalVariables ( ) : void { $ _SERVER = array_intersect_key ( $ _SERVER , array_flip ( [ 'PHP_SELF' , 'SCRIPT_NAME' , 'SERVER_ADDR' , 'SERVER_SOFTWARE' , 'HTTP_HOST' , 'DOCUMENT_ROOT' , 'OS' , 'argc' , 'argv' , ] ) ) ; $ _SERVER [ 'REQUEST_TIME' ] = 1234567890 ; $ _ENV = $ _GET = $ _POST = [ ] ; }
Configure global variables
Configure global variables