Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Art4
Copy link
Contributor

@Art4 Art4 commented Sep 27, 2025

I'd like to use phpseclib 3 with PHP 8.5, but it seems that there are some incompatibilities. In this PR I try to add PHP 8.5 support.

@terrafrost
Copy link
Member

terrafrost commented Sep 28, 2025

Trying to test RC PHP versions locally is kinda a PITA.

I normally develop on Windows and there's not a PHP 8.5 download for Windows on https://windows.php.net/.

I'm also not seeing PHP 8.5 on the ondrej PPA server:

https://launchpad.net/~ondrej/+archive/ubuntu/php/+packages?field.name_filter=8.5&field.status_filter=published&field.series_filter=

Sure, I could compile it from the sources, but I'd rather not muck up my main Ubuntu install either. Like if I did that would I able to switch between multiple versions of PHP via sudo update-alternatives --config php after that? idk and the prospect of not being able to do so is enough to give me pause on going the compilation route.

I do see PHP 8.5 Docker containers however:

https://hub.docker.com/_/php/tags?name=8.5

I didn't know, until just now, that PHP even released Docker containers for RC candidates but, either way, I normally don't test phpseclib on RC versions of PHP just due to the difficulties involved. But I'll try to put a little extra effort into it this time around.

@terrafrost terrafrost merged commit 5805c0e into phpseclib:3.0 Sep 28, 2025
40 of 46 checks passed
@terrafrost
Copy link
Member

phpseclib 1.0, 2.0, 3.0 and the master branch should all be working better on PHP 8.5 now.

Thanks!

@TimWolla
Copy link

I normally develop on Windows and there's not a PHP 8.5 download for Windows on https://windows.php.net/.

There is: https://windows.php.net/qa/

@Art4
Copy link
Contributor Author

Art4 commented Sep 28, 2025

@terrafrost Thank you very much! Commit be3a8aa had fixed my issue with PHP 8.5. Is there an estimation of when we could expect release 3.0.47?

@terrafrost
Copy link
Member

@TimWolla - thanks!

@Art4 - I'll try to do a release next weekend.

@Art4 Art4 deleted the add-php-8-5-support branch September 28, 2025 21:51
@terrafrost
Copy link
Member

A new release has been made:

https://github.com/phpseclib/phpseclib/releases/tag/3.0.47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants