protected static function envDetectParseSysConfigVariables (& $data, $rawServerVariable) {
		$data->serverVariables->check = TRUE;
		if (is_string($rawServerVariable)) {
			$data->serverVariables->existence[] = $rawServerVariable;
		} else if (is_array($rawServerVariable) || $rawServerVariable instanceof \stdClass) {
			foreach ((array) $rawServerVariable as $key => $value) {
				if (is_numeric($key)) {
					$data->serverVariables->existence[] = $value;
				} else if (substr($value, 0, 1) == '/') {
					$data->serverVariables->regExeps[$key] = $value;
				} else {
					$data->serverVariables->values[$key] = $value;
				}
			}
		}
	}
protected static function envDetectParseSysConfigVariables (& $data, $rawServerVariable) {
		$data->serverVariables->check = TRUE;
		if (is_string($rawServerVariable)) {
			$data->serverVariables->existence[] = $rawServerVariable;
		} else if (is_array($rawServerVariable) || $rawServerVariable instanceof \stdClass) {
			foreach ((array) $rawServerVariable as $key => $value) {
				if (is_numeric($key)) {
					$data->serverVariables->existence[] = $value;
				} else if (substr($value, 0, 1) == '/') {
					$data->serverVariables->regExeps[$key] = $value;
				} else {
					$data->serverVariables->values[$key] = $value;
				}
			}
		}
	}
protected static function envDetectParseSysConfigVariables ( & $ data , $ rawServerVariable ) { $ data -> serverVariables -> check = TRUE ; if ( is_string ( $ rawServerVariable ) ) { $ data -> serverVariables -> existence [ ] = $ rawServerVariable ; } else if ( is_array ( $ rawServerVariable ) || $ rawServerVariable instanceof \ stdClass ) { foreach ( ( array ) $ rawServerVariable as $ key => $ value ) { if ( is_numeric ( $ key ) ) { $ data -> serverVariables -> existence [ ] = $ value ; } else if ( substr ( $ value , 0 , 1 ) == '/' ) { $ data -> serverVariables -> regExeps [ $ key ] = $ value ; } else { $ data -> serverVariables -> values [ $ key ] = $ value ; } } } }
Parse system config environment section data from various declarations
about server environment variables into specific detection structure.
@param \stdClass $data
@param mixed $rawServerVariable
@return void
Parse system config environment section data from various declarations about server environment variables into specific detection structure .