Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions PhpManager/private/Get-PhpVersionFromApiVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,22 @@ function Get-PhpVersionFromApiVersion {
return ''
}
switch ($ApiVersion) {
# https://github.com/php/php-src/blob/php-8.1.0alpha1/Zend/zend_modules.h#L34
20201009 {
return '8.1'
}
# https://github.com/php/php-src/blob/php-8.0.0rc1/Zend/zend_modules.h#L34
# https://github.com/php/php-src/blob/php-8.0.2/Zend/zend_modules.h#L34
# https://github.com/php/php-src/blob/php-8.0.7/Zend/zend_modules.h#L34
20200930 {
return '8.0'
}
# https://github.com/php/php-src/blob/php-7.4.0RC1/Zend/zend_modules.h#L34
# https://github.com/php/php-src/blob/php-7.4.11/Zend/zend_modules.h#L34
# https://github.com/php/php-src/blob/php-7.4.20/Zend/zend_modules.h#L34
20190902 {
return '7.4'
}
# https://github.com/php/php-src/blob/php-7.3.0beta1/Zend/zend_modules.h#L34
# https://github.com/php/php-src/blob/php-7.3.23/Zend/zend_modules.h#L34
# https://github.com/php/php-src/blob/php-7.3.28/Zend/zend_modules.h#L34
20180731 {
return '7.3'
}
Expand Down