public static function checkExtensions($extConstants, $requireAll=true)
	{
		if (is_array($extConstants)) {
			foreach ($extConstants as $ext) {
				if (static::extLoaded($ext)) {
					if (!$requireAll) return true;
				} else {
					if ($requireAll) return false;
				}
			}
			return true;
		} else {
			return static::extLoaded($extConstants);
		}
	}