File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5050 $result = ' '
5151 }
5252 process {
53- # https://github.com/php/web-pecl/blob/467593b248d4603a3dee2ecc3e61abfb7434d24d/include/pear-win-package .php
53+ # https://github.com/php/web-pecl/blob/d46cbd98fc5ce90ec2a45bef5ee4f6c9db3898b7/src/PackageDll .php
5454 $handleLC = $PackageHandle.ToLowerInvariant ();
5555 $rxMatch = ' /php_' + [regex ]::Escape($PackageHandle )
5656 $rxMatch += ' -' + [regex ]::Escape($PackageVersion )
6060 $rxMatch += ' -' + [regex ]::Escape($PhpVersion.Architecture )
6161 $rxMatch += ' \.zip$'
6262 $urls = @ ()
63- $urls += " https://windows .php.net/downloads /pecl/releases/$handleLC /$PackageVersion "
63+ $urls += " https://downloads .php.net/~windows /pecl/releases/$handleLC /$PackageVersion / "
6464 if ($MinimumStability -ne $Script :PEARSTATE_STABLE ) {
65- $urls += " https://windows .php.net/downloads /pecl/snaps/$handleLC /$PackageVersion "
65+ $urls += " https://downloads .php.net/~windows /pecl/snaps/$handleLC /$PackageVersion / "
6666 }
6767 foreach ($url in $urls ) {
6868 try {
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ function Get-PhpVersionFromApiVersion {
1717 }
1818 switch ($ApiVersion ) {
1919 # https://github.com/php/php-src/blob/php-8.3.0RC1/Zend/zend_modules.h#L34
20- # https://github.com/php/php-src/blob/php-8.3.6 /Zend/zend_modules.h#L34
20+ # https://github.com/php/php-src/blob/php-8.3.7 /Zend/zend_modules.h#L34
2121 20230831 {
2222 return ' 8.3'
2323 }
2424 # https://github.com/php/php-src/blob/php-8.2.0RC1/Zend/zend_modules.h#L34
25- # https://github.com/php/php-src/blob/php-8.2.18 /Zend/zend_modules.h#L34
25+ # https://github.com/php/php-src/blob/php-8.2.19 /Zend/zend_modules.h#L34
2626 20220829 {
2727 return ' 8.2'
2828 }
You can’t perform that action at this time.
0 commit comments