PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated web pages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts.
Update Information:
**PHP version 8.1.7** (09 Jun 2022) **CLI:** * Fixed bug
[GH-8575](https://github.com/php/php-src/issues/8575) (CLI closes standard
streams too early). (Levi Morrison) **Date:** * Fixed bug php#51934 (strtotime
plurals / incorrect time). (Derick) * Fixed bug php#51987 (Datetime fails to
parse an ISO 8601 ordinal date (extended format)). (Derick) * Fixed bug
php#66019 (DateTime object does not support short ISO 8601 time format - YYYY-
MM-DDTHH) (cmb, Derick) * Fixed bug php#68549 (Timezones and offsets are not
properly used when working with dates) (Derick, Roel Harbers) * Fixed bug
php#81565 (date parsing fails when provided with timezones including seconds).
(Derick) * Fixed bug [GH-7758](https://github.com/php/php-src/issues/7758)
(Problems with negative timestamps and fractions). (Derick, Ilija) **FPM:** *
Fixed ACL build check on MacOS. (David Carlier) * Fixed bug php#72185: php-fpm
writes empty fcgi record causing nginx 502. (Jakub Zelenka, loveharmful)
**mysqlnd:** * Fixed bug php#81719: mysqlnd/pdo password buffer overflow.
(**CVE-2022-31626**) (c dot fol at ambionics dot io) **OPcache:** * Fixed bug
[GH-8461](https://github.com/php/php-src/issues/8461) (tracing JIT crash after
function/method change). (Arnaud, Dmitry) **OpenSSL:** * Fixed bug php#79589
(error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading). (Jakub
Zelenka) **Pcntl:** * Fixed Haiku build. (David Carlier) **pgsql** * Fixed
bug php#81720: Uninitialized array in pg_query_params(). (**CVE-2022-31625**)
(cmb) **Soap:** * Fixed bug [GH-8578](https://github.com/php/php-
src/issues/8578) (Error on wrong parameter on SoapHeader constructor).
(robertnisipeanu) * Fixed bug [GH-8538](https://github.com/php/php-
src/issues/8538) (SoapClient may strip parts of nmtokens). (cmb) **SPL:** *
Fixed bug [GH-8235](https://github.com/php/php-src/issues/8235)
(iterator_count() may run indefinitely). (cmb) **Standard:** * Fixed bug
[GH-8185](https://github.com/php/php-src/issues/8185) (Crash during unloading of
extension after dl() in ZTS). (Arnaud)