The commit updates PHP to version 8.4.4 and includes several improvements:
- Upgraded PHP from 5.6.40 to 8.4.4
- Modernized PHP development code with strict types and improved documentation
- Updated configuration files (php.ini) with latest settings and security recommendations
- Refreshed SSL configuration and removed legacy features
- Cleaned up old PHP binaries and libraries
- Added type hints and return types to development classes
- Improved error handling and validation in language checker
PR Type
Enhancement, Documentation, Configuration changes, Dependencies
Description
Updated to PHP 8.4.4 with corresponding changes in configuration, metadata, and dependencies.
Refactored and modernized multiple classes (
class.dev.checklang.php,class.dev.utils.php,class.dev.root.php) with strict typing, PHPDoc comments, and improved readability.Enhanced PHP configuration files (
php.ini-production,php.ini-development) with modern directives, HTTPS links, and better clarity.Updated documentation files (
README.md,readme-redist-bins.txt,license.txt) with improved content, formatting, and current information.Modernized OpenSSL configuration (
openssl.cnf) with FIPS and CMP support.Adjusted snapshot metadata to reflect PHP 8.4.4 and updated dependencies.
Changes walkthrough 📝
4 files
class.dev.checklang.php
Refactor and document language validation class.phpdev/class.dev.checklang.php
processmethod by extracting logic into smaller methods.logic.
class.dev.utils.php
Modernize utility class with strict typing and comments.phpdev/class.dev.utils.php
matchfor better readability.class.dev.root.php
Enhance application root class with strict typing.phpdev/class.dev.root.php
RuntimeException.Root.php
Add documentation and strict types to main entry script.phpdev/Root.php
require_oncepaths to use__DIR__.3 files
php.ini-production
Update PHP production configuration for modern PHP versions.tools/php/php.ini-production
php.ini-development
Modernized and clarified PHP development configuration file.tools/php/php.ini-development
http://tohttps://for PHP documentation links.directives.
clarity and functionality.
openssl.cnf
Modernized OpenSSL configuration with FIPS and CMP support.tools/php/extras/ssl/openssl.cnf
provider settings.
Insta Demo CA.
1 files
snapshot.txt
Update PHP snapshot metadata for version 8.4.4.tools/php/snapshot.txt
3 files
license.txt
Update PHP license file with current year.tools/php/license.txt
README.md
Revise README with updated links and content.tools/php/README.md
readme-redist-bins.txt
Updated redistribution binaries and licensing documentation.tools/php/readme-redist-bins.txt
xxHash.
9 files