src/Events/php_exporter.php
public function validate_since($line)
	{
		$match = array();
		preg_match('#^\* @since (\d+(\.\d+)+(?:-(?:a|b|RC|pl)\d+)?)$#', ltrim($line, " \t"), $match);
		if (!isset($match[1]))
		{
			throw new \LogicException("Invalid '@since' information for event "
				. "'{$this->current_event}' in file '{$this->current_clean_file}:{$this->current_event_line}'");
		}

		return $match[1];
	}
public function validate_since($line)
	{
		$match = array();
		preg_match('#^\* @since (\d+(\.\d+)+(?:-(?:a|b|RC|pl)\d+)?)$#', ltrim($line, " \t"), $match);
		if (!isset($match[1]))
		{
			throw new \LogicException("Invalid '@since' information for event "
				. "'{$this->current_event}' in file '{$this->current_clean_file}:{$this->current_event_line}'");
		}

		return $match[1];
	}
Validate "@since" Information

@param string $line

@return string
@throws \LogicException