Skip to content

Commit 3452b4e

Browse files
committed
Mark PHP 8.4 as default in scripts
1 parent 6affaba commit 3452b4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/Get-Php.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ param (
2424
[string] $Path,
2525
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')]
2626
[ValidateLength(1, [int]::MaxValue)]
27-
[string] $Version = '8.3'
27+
[string] $Version = '8.4'
2828
)
2929

3030
Function Get-File {

scripts/Get-PhpNightly.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ param (
2424
[string] $Path,
2525
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')]
2626
[ValidateLength(1, [int]::MaxValue)]
27-
[string] $Version = '8.3'
27+
[string] $Version = '8.4'
2828
)
2929

3030
Function Get-File {
@@ -67,7 +67,7 @@ $ts = '-nts'
6767
if($ThreadSafe) {
6868
$ts = ''
6969
}
70-
if($Version -match '8.[0-3]') {
70+
if($Version -match '8.[0-4]') {
7171
Install-Php -Version $Version -Architecture $Architecture -ThreadSafe $ThreadSafe -InstallVC -Path $Path -TimeZone UTC -InitialPhpIni Production -Force
7272
} else {
7373
$file = "php-$Version.0-dev$ts-Win32-vs17-$Architecture.zip"

0 commit comments

Comments
 (0)