Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2022-12-09 05:41:16

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,162
Website

PHP 8.2 notes and discussion

PHP 8.2 installed locally via Homebrew, (existing) Textpattern 4.9-dev running in debug mode.

First impression, kinda boring :-(! [1] A first pass shows no problems, both on the front-end and the back-end. Plugins seem to do do their job so far. Of course, it is a first pass.

A second pass, some depreciation notice when uploading an image / creating a thumbnail – issue 1852.

–^–

1 Not as boring as installing macOS 13… which was just like any other point-update. The PHP ran into some error on my side, I had to uninstall it and start over.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#2 2022-12-09 05:44:41

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,162
Website

Re: PHP 8.2 notes and discussion

In the PHP8.1 thread last year, Oleg asked to test AVIF images. Uploading worked fine but PHP8.1 was unable to get the size of the AVIF image.

With PHP 8.2, there is some improvement. The Textpattern tag <txp:image_info id="2" type="w" /> and type="h" still return 0 (zero), but the following snippet works correctly, afaict.

<txp:php>
dmp(imagetypes());
dmp(getimagesize('images/2.avif'));
</txp:php>

This outputs the correct dimensions for the AVIF image.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2022-12-09 11:38:27

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,241
GitHub

Re: PHP 8.2 notes and discussion

To follow on from phiw13’s commentary, there’s a Textpattern instance of the dev branch running on PHP 8.2.0 here:

php-next-demo.textpattern.co/dev/

Grab a username + password combo from here and log in here for a test drive.

Last edited by gaekwad (2022-12-09 11:39:11)

Offline

#4 2022-12-10 16:39:01

etc
Developer
Registered: 2010-11-11
Posts: 5,157
Website GitHub

Re: PHP 8.2 notes and discussion

phiw13 wrote #334254:

In the PHP8.1 thread last year, Oleg asked to test AVIF images.

Thank you. I have installed PHP 8.2 and will run some tests when I have time.

Offline

#5 2022-12-11 01:35:30

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,162
Website

Re: PHP 8.2 notes and discussion

If you have some snippets that might need testing in different environments, feel free to ask.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB