Page MenuHomeDevCentral

Upgrade to PHP 8.2.4
ClosedPublic

Authored by dereckson on Mar 25 2023, 14:05.
Tags
None
Referenced Files
F3607750: D2917.id7435.diff
Mon, Sep 30, 10:32
Unknown Object (File)
Fri, Sep 6, 07:03
Unknown Object (File)
Tue, Sep 3, 09:35
Unknown Object (File)
Sun, Sep 1, 23:58
Unknown Object (File)
Sun, Sep 1, 09:54
Unknown Object (File)
Sat, Aug 31, 17:26
Unknown Object (File)
Aug 31 2024, 00:37
Unknown Object (File)
Aug 29 2024, 19:40

Details

Summary

This is the first PHP 8.2 release of the image.
PGP keys have been updated for the PHP 8.2 versions.

Reference: https://www.php.net/ChangeLog-8.php

Test Plan

Test arc rebuilding rDARC too.

Diff Detail

Repository
rDPHPCLI nasqueron/php-cli Docker image
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

An important reuser is the nasqueron/arcanist image.

I think @inidal uses arc with PHP 8.2 on local computer, but can't confirm.
What I can confirm is WindRiver, @DorianWinty laptop and previous version on this image are all 8.1.

So let's check we can build (of course) and run arcanist image with 8.2 first.

This revision is now accepted and ready to land.Mar 25 2023, 15:05

arc works like a charm on Dwellers.

As a proof, let's land this with it.

This revision was automatically updated to reflect the committed changes.
$ arc shell
$ php -v
PHP 8.2.4 (cli) (built: Mar 25 2023 14:07:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies

$ arc land --onto main
 STRATEGY  Merging with "squash" strategy, the default strategy.
 SOURCE  Landing the current branch, "php82".
 ONTO REMOTE  Landing onto remote "origin", the default remote under Git.
 ONTO TARGET  Refs were selected with the "--onto" flag: main.
 INTO REMOTE  Will merge into remote "origin" by default, because this is the remote the change is landing onto.
 INTO TARGET  Will merge into target "main" by default, because this is the "onto" target.
 FETCH  Fetching "main" from remote "origin"...

  $   git fetch --no-tags --quiet -- origin main


 INTO COMMIT  Preparing merge into "main" from remote "origin", at commit "1d78152e54c1".
 LANDING  These changes will land:

  *   D2917 Upgrade to PHP 8.2.4
          045a6d0871a8  Upgrade to PHP 8.2.4

 >>>  Land these changes? [y/N/?] Y
 MERGING  045a6d0871a8 Upgrade to PHP 8.2.4
 MERGE  Attempting to rebase changes.
 DONE  Merge succeeded.
 PUSHING  Pushing changes to "origin".

  $   git push -- origin ddce94fb2374:refs/heads/main

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 617 bytes | 617.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
To ssh://devcentral.nasqueron.org:5022/source/docker-php-cli.git
   1d78152..ddce94f  ddce94fb2374 -> main

 CLEANUP  Cleaning up branch "php82". To recover, run:

    $ git checkout -b php82 045a6d0871a8

 UPDATE  Updating local branch "main"...
 CHECKOUT  Checking out "main".
 DONE  Landed changes.