We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7548e6 commit 2962d92Copy full SHA for 2962d92
src/Platform/TargetPhp/PhpBinaryPath.php
@@ -269,7 +269,7 @@ public function version(): string
269
$phpVersion = self::cleanWarningAndDeprecationsFromOutput(Process::run([
270
$this->phpBinaryPath,
271
'-r',
272
- 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION . "." . PHP_RELEASE_VERSION;',
+ 'echo PHP_VERSION;',
273
]));
274
Assert::stringNotEmpty($phpVersion, 'Could not determine PHP version');
275
0 commit comments