From 7ec54e977fcceda43441f7e6271febd93909ae9b Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 14 Oct 2025 16:12:02 +0200 Subject: [PATCH] Recognize PHP 8.5.0-rc ZEND_MODULE_API_NO --- PhpManager/private/Get-PhpVersionFromApiVersion.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PhpManager/private/Get-PhpVersionFromApiVersion.ps1 b/PhpManager/private/Get-PhpVersionFromApiVersion.ps1 index fb84f8c..55c10e2 100644 --- a/PhpManager/private/Get-PhpVersionFromApiVersion.ps1 +++ b/PhpManager/private/Get-PhpVersionFromApiVersion.ps1 @@ -16,8 +16,9 @@ function Get-PhpVersionFromApiVersion { return '' } switch ($ApiVersion) { - #https://github.com/php/php-src/blob/php-8.5.0alpha1/Zend/zend_modules.h#L34 - 20240925 { + #https://github.com/php/php-src/blob/php-8.5.0RC1/Zend/zend_modules.h#L34 + #https://github.com/php/php-src/blob/php-8.5.0RC2/Zend/zend_modules.h#L34 + 20250925 { return '8.5' } # https://github.com/php/php-src/blob/php-8.4.0RC1/Zend/zend_modules.h#L34