Skip to content

Commit a28a0fa

Browse files
committed
Add PHP 8.6 builds
1 parent a6e72aa commit a28a0fa

File tree

4 files changed

+84
-4
lines changed

4 files changed

+84
-4
lines changed

.github/workflows/symbol-update.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ jobs:
4242
extensions: 'none, bcmath,bz2,calendar,com_dotnet,ctype,curl,date,dba,dom,enchant,exif,ffi,fileinfo,filter,ftp,gd,gettext,gmp,hash,iconv,intl,json,ldap,libxml,mbstring,mysqli,mysqlnd,odbc,opcache,openssl,pcntl,pcre,pdo,pdo_dblib,pdo_firebird,pdo_mysql,pdo_odbc,pdo_pgsql,pdo_sqlite,pgsql,phar,posix,random,readline,reflection,session,shmop,simplexml,snmp,soap,sockets,sodium,spl,sqlite3,standard,sysvmsg,sysvsem,sysvshm,tidy,tokenizer,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,zlib' # imap,pspell,oci8,pdo_oci
4343
- php-version: '8.5'
4444
extensions: 'none, bcmath,bz2,calendar,com_dotnet,ctype,curl,date,dba,dom,enchant,exif,ffi,fileinfo,filter,ftp,gd,gettext,gmp,hash,iconv,intl,json,ldap,libxml,mbstring,mysqli,mysqlnd,odbc,opcache,openssl,pcntl,pcre,pdo,pdo_dblib,pdo_firebird,pdo_mysql,pdo_odbc,pdo_pgsql,pdo_sqlite,pgsql,phar,posix,random,readline,reflection,session,shmop,simplexml,snmp,soap,sockets,sodium,spl,sqlite3,standard,sysvmsg,sysvsem,sysvshm,tidy,tokenizer,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,zlib' # =
45+
- php-version: '8.6'
46+
extensions: 'none, bcmath,bz2,calendar,com_dotnet,ctype,curl,date,dba,dom,enchant,exif,ffi,fileinfo,filter,ftp,gd,gettext,gmp,hash,iconv,intl,json,ldap,libxml,mbstring,mysqli,mysqlnd,odbc,opcache,openssl,pcntl,pcre,pdo,pdo_dblib,pdo_firebird,pdo_mysql,pdo_odbc,pdo_pgsql,pdo_sqlite,pgsql,phar,posix,random,readline,reflection,session,shmop,simplexml,snmp,soap,sockets,sodium,spl,sqlite3,standard,sysvmsg,sysvsem,sysvshm,tidy,tokenizer,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,zlib' # =
4547
steps:
4648
- uses: actions/checkout@v5
4749

4850
- name: Setup PHP
4951
uses: shivammathur/setup-php@verbose
50-
if: matrix.php-version != '8.5' && matrix.php-version != '8.4' # Instead of using setup-php, compile PHP from source instead.
52+
if: matrix.php-version != '8.5' && matrix.php-version != '8.6' # Instead of using setup-php, compile PHP from source instead.
5153
with:
5254
php-version: ${{ matrix.php-version }}
5355
extensions: ${{ matrix.extensions }}
@@ -64,9 +66,15 @@ jobs:
6466
6567
- name: Compile and Setup PHP (${{ matrix.php-version }})
6668
uses: PHPWatch/compile-php@main
67-
if: matrix.php-version == '8.5' || matrix.php-version == '8.4'
69+
if: matrix.php-version == '8.5'
70+
with:
71+
branch: 'PHP-${{ matrix.php-version }}'
72+
73+
- name: Compile and Setup PHP (master)
74+
uses: PHPWatch/compile-php@main
75+
if: matrix.php-version == '8.6'
6876
with:
69-
branch: ${{ matrix.php-version == '8.5' && 'master' || 'PHP-8.4' }}
77+
branch: 'master'
7078

7179
- name: Display versions and env
7280
run: |

build/MASTER_VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.6

meta/core-exts/8.6/ext.php

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?php
2+
3+
return array (
4+
'Core',
5+
'date',
6+
'libxml',
7+
'openssl',
8+
'pcre',
9+
'sqlite3',
10+
'zlib',
11+
'bcmath',
12+
'bz2',
13+
'calendar',
14+
'ctype',
15+
'curl',
16+
'dba',
17+
'dom',
18+
'enchant',
19+
'mbstring',
20+
'json',
21+
'FFI',
22+
'fileinfo',
23+
'filter',
24+
'ftp',
25+
'gd',
26+
'gettext',
27+
'gmp',
28+
'hash',
29+
'iconv',
30+
'intl',
31+
'SPL',
32+
'ldap',
33+
'session',
34+
'standard',
35+
'mysqlnd',
36+
'mysqli',
37+
'odbc',
38+
'pcntl',
39+
'PDO',
40+
'pdo_dblib',
41+
'pdo_mysql',
42+
'PDO_ODBC',
43+
'pdo_pgsql',
44+
'pdo_sqlite',
45+
'pgsql',
46+
'Phar',
47+
'posix',
48+
'random',
49+
'readline',
50+
'Reflection',
51+
'exif',
52+
'shmop',
53+
'SimpleXML',
54+
'snmp',
55+
'soap',
56+
'sockets',
57+
'sodium',
58+
'sysvmsg',
59+
'sysvsem',
60+
'sysvshm',
61+
'tidy',
62+
'tokenizer',
63+
'xml',
64+
'xmlreader',
65+
'xmlwriter',
66+
'xsl',
67+
'zip',
68+
'Zend OPcache',
69+
);

src/Sources/INIListSource.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ private static function getOriginIniFiles() {
6464
$version = explode('.', PHP_VERSION);
6565
$version = $version[0] . '.'. $version[1];
6666

67-
if ($version === '8.5') {
67+
$masterVersion = trim(file_get_contents(__DIR__ . '/../../build/MASTER_VERSION'));
68+
69+
if ($version === $masterVersion) {
6870
$branch = 'master';
6971
}
7072
else {

0 commit comments

Comments
 (0)