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

Breadcrumb

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

function Emulative::isReverseEmulationNeeded

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

File

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

Class

Emulative

Namespace

PhpParser\Lexer

Code

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

API Navigation

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