protected function extensionsInfo(Infoset $info) {
		$extensions = $this->createTable()
			->setHeadContent(['Name', 'Version'])
			->setColsWidths([1, 99])
			->enableBbCodes()
			->setTitle('Extensions');
		
		$info[] = $extensions;
		
		foreach (get_loaded_extensions() as $extension) {
			$version   = phpversion($extension);
			$extension = ucfirst($extension);
			
			if (empty($version)) {
				$extensions[] = [$extension, ''];
				continue;
			}
			
			$extensions[] = [$extension, '[success]' . $version . '[/success]'];
		}
		
		if (extension_loaded('Zend OPcache')) {
			$this->opcacheInfo($info);
		}
	}
protected function extensionsInfo(Infoset $info) {
		$extensions = $this->createTable()
			->setHeadContent(['Name', 'Version'])
			->setColsWidths([1, 99])
			->enableBbCodes()
			->setTitle('Extensions');
		
		$info[] = $extensions;
		
		foreach (get_loaded_extensions() as $extension) {
			$version   = phpversion($extension);
			$extension = ucfirst($extension);
			
			if (empty($version)) {
				$extensions[] = [$extension, ''];
				continue;
			}
			
			$extensions[] = [$extension, '[success]' . $version . '[/success]'];
		}
		
		if (extension_loaded('Zend OPcache')) {
			$this->opcacheInfo($info);
		}
	}
protected function extensionsInfo ( Infoset $ info ) { $ extensions = $ this -> createTable ( ) -> setHeadContent ( [ 'Name' , 'Version' ] ) -> setColsWidths ( [ 1 , 99 ] ) -> enableBbCodes ( ) -> setTitle ( 'Extensions' ) ; $ info [ ] = $ extensions ; foreach ( get_loaded_extensions ( ) as $ extension ) { $ version = phpversion ( $ extension ) ; $ extension = ucfirst ( $ extension ) ; if ( empty ( $ version ) ) { $ extensions [ ] = [ $ extension , '' ] ; continue ; } $ extensions [ ] = [ $ extension , '[success]' . $ version . '[/success]' ] ; } if ( extension_loaded ( 'Zend OPcache' ) ) { $ this -> opcacheInfo ( $ info ) ; } }
Collect information about extensions

@param Infoset $info
Collect information about extensions