protected function getPhpInfo(): string
	{
		ob_start();
		phpinfo();
		$result = ob_get_contents();
		ob_end_clean();

		$result = preg_replace('%^.*<body>(.*)</body>.*$%ms', '$1', $result);
		$result = preg_replace('/,\s*/', ', ', $result);
		return $result;
	}
protected function getPhpInfo(): string
	{
		ob_start();
		phpinfo();
		$result = ob_get_contents();
		ob_end_clean();

		$result = preg_replace('%^.*<body>(.*)</body>.*$%ms', '$1', $result);
		$result = preg_replace('/,\s*/', ', ', $result);
		return $result;
	}
protected function getPhpInfo ( ) : string { ob_start ( ) ; phpinfo ( ) ; $ result = ob_get_contents ( ) ; ob_end_clean ( ) ; $ result = preg_replace ( '%^.*<body>(.*)</body>.*$%ms' , '$1' , $ result ) ; $ result = preg_replace ( '/,\s*/' , ', ' , $ result ) ; return $ result ; }
Vrati vypis PHP info
@return string
Vrati vypis PHP info