Add PHP 8.4 support (testing)

This commit is contained in:
crazywhalecc
2024-10-25 16:38:02 +08:00
committed by Jerry Ma
parent 2bfc5e1d74
commit ddafdf8987
4 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ class PhpSource extends CustomSourceBase
{
$major = defined('SPC_BUILD_PHP_VERSION') ? SPC_BUILD_PHP_VERSION : '8.1';
if ($major === '8.4') {
Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://downloads.php.net/~saki/php-8.4.0RC1.tar.xz'], $force);
Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://downloads.php.net/~saki/php-8.4.0RC3.tar.xz'], $force);
} else {
Downloader::downloadSource('php-src', self::getLatestPHPInfo($major), $force);
}