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

Breadcrumb

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

function Emulative::isForwardEmulationNeeded

1 call to Emulative::isForwardEmulationNeeded()
Emulative::__construct in vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php

File

vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php, line 103

Class

Emulative

Namespace

PhpParser\Lexer

Code

private function isForwardEmulationNeeded(PhpVersion $emulatorPhpVersion) : bool {
    return $this->hostPhpVersion
        ->older($emulatorPhpVersion) && $this->targetPhpVersion
        ->newerOrEqual($emulatorPhpVersion);
}

API Navigation

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