Skip to content

Commit 7b77054

Browse files
committed
Recognize API version of PHP 8.6.0-dev
1 parent d00d711 commit 7b77054

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PhpManager/private/Get-PhpVersionFromApiVersion.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ function Get-PhpVersionFromApiVersion {
1616
return ''
1717
}
1818
switch ($ApiVersion) {
19+
# https://github.com/php/php-src/blob/a7223e73a8ef0c95588a76830566f035f5fb75bf/Zend/zend_modules.h#L33 (8.6.0-dev)
20+
20250926 {
21+
return '8.6'
22+
}
1923
# https://github.com/php/php-src/blob/php-8.5.0RC1/Zend/zend_modules.h#L34
2024
# https://github.com/php/php-src/blob/php-8.5.7/Zend/zend_modules.h#L34
2125
20250925 {

0 commit comments

Comments
 (0)