diff --git a/README.md b/README.md index d16dac0..9d0f0ed 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ To install a PHP snapshot, open an elevated PowerShell session and run these com $php_dir = 'C:\tools\php' # Set this as per your setup $arch = 'x64' # Set x64 or x86 $ts = $False # Set $False for nts or $True for ts -$version = '8.1' # Set 8.0, 8.1, 8.2, 8.3, o4 8.4 +$version = '8.3' # Set 8.0, 8.1, 8.2, 8.3, o4 8.4 # Install New-Item -Path $php_dir -Type Directory -Force diff --git a/scripts/Get-Php.ps1 b/scripts/Get-Php.ps1 index 6af0666..88aaac0 100644 --- a/scripts/Get-Php.ps1 +++ b/scripts/Get-Php.ps1 @@ -24,7 +24,7 @@ param ( [string] $Path, [Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')] [ValidateLength(1, [int]::MaxValue)] - [string] $Version = '8.0' + [string] $Version = '8.3' ) Function Get-File { diff --git a/scripts/Get-PhpNightly.ps1 b/scripts/Get-PhpNightly.ps1 index 12999c9..95928e2 100644 --- a/scripts/Get-PhpNightly.ps1 +++ b/scripts/Get-PhpNightly.ps1 @@ -24,7 +24,7 @@ param ( [string] $Path, [Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The PHP version')] [ValidateLength(1, [int]::MaxValue)] - [string] $Version = '8.2' + [string] $Version = '8.3' ) Function Get-File { @@ -67,7 +67,7 @@ $ts = '-nts' if($ThreadSafe) { $ts = '' } -if($Version -match '8.[0-2]') { +if($Version -match '8.[0-3]') { Install-Php -Version $Version -Architecture $Architecture -ThreadSafe $ThreadSafe -InstallVC -Path $Path -TimeZone UTC -InitialPhpIni Production -Force } else { $file = "php-$Version.0-dev$ts-Win32-vs16-$Architecture.zip"