Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
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
Online
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
Pages: 1