Skip to content

Commit

Permalink
Merge pull request #331 from reliforp/improve-version-detection
Browse files Browse the repository at this point in the history
Pretend PHP 7.0 for finding the module registry
  • Loading branch information
sj-i committed Nov 21, 2023
2 parents 6fabc66 + ecd3358 commit 5170188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib/PhpProcessReader/PhpVersionDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function detectPhpVersion(
int $pid,
int $module_registry_address
): ?string {
$fake_php_version = ZendTypeReader::defaultVersion();
$fake_php_version = ZendTypeReader::V70;
$dereferencer = $this->getDereferencer($pid, $fake_php_version);
$module_registry = $this->getModuleRegistry(
$module_registry_address,
Expand Down

0 comments on commit 5170188

Please sign in to comment.