Skip to content

Commit

Permalink
Mark PHP 8.4 as default in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Nov 25, 2024
1 parent 6affaba commit 3452b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/Get-Php.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ param (
[string] $Path,
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')]
[ValidateLength(1, [int]::MaxValue)]
[string] $Version = '8.3'
[string] $Version = '8.4'
)

Function Get-File {
Expand Down
4 changes: 2 additions & 2 deletions scripts/Get-PhpNightly.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ param (
[string] $Path,
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')]
[ValidateLength(1, [int]::MaxValue)]
[string] $Version = '8.3'
[string] $Version = '8.4'
)

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

0 comments on commit 3452b4e

Please sign in to comment.