Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpVersion.php

function PhpVersion::isHostVersion

Check whether this is the host PHP version.

File

vendor/nikic/php-parser/lib/PhpParser/PhpVersion.php, line 90

Class

PhpVersion
A PHP version, representing only the major and minor version components.

Namespace

PhpParser

Code

public function isHostVersion() : bool {
    return $this->equals(self::getHostVersion());
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal