Hypertext Preprocessor is a general-purpose programming language!

PHP for Mac

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe
Download PHP 8.1.2

  -  18.75 MB  -  Open Source

What's new in this version:

Core:
- Fixed bug #81216 (Nullsafe operator leaks dynamic property name)
- Fixed bug #81684 (Using null coalesce assignment with $GLOBALS["x"] produces opcode error)
- Fixed bug #81656 (GCC-11 silently ignores -R)
- Fixed bug #81683 (Misleading "access type ... must be public" error message on final or abstract interface methods)
- Fixed bug #81585 (cached_chunks are not counted to real_size on shutdown)
- Fixed bug #7757 (Multi-inherited final constant causes fatal error)
- Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT
- Added riscv64 support for fibers

Filter:
- Fixed FILTER_FLAG_NO_RES_RANGE flag

Hash:
- Fixed bug #7759 (Incorrect return types for hash() and hash_hmac())
- Fixed bug #7826 (Inconsistent argument name in hash_hmac_file and hash_file)

MBString:
- Fixed bug #81693 (mb_check_encoding(7bit) segfaults)

MySQLi:
- Fixed bug #81658 (MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB)
- Introduced MYSQLI_IS_MARIADB
- Fixed bug #7746 (mysqli_sql_exception->getSqlState())

MySQLnd:
- Fixed bug where large bigints may be truncated

OCI8:
- Fixed bug #7765 (php_oci_cleanup_global_handles segfaults at second call)

OPcache:
- Fixed bug #81679 (Tracing JIT crashes on reattaching)

Readline:
- Fixed bug #81598 (Cannot input unicode characters in PHP 8 interactive shell)

Reflection:
- Fixed bug #81681 (ReflectionEnum throwing exceptions)

PDO_PGSQL:
- Fixed error message allocation of PDO PgSQL

Sockets:
- Avoid void* arithmetic in sockets/multicast.c on NetBSD
- Fixed ext/sockets build on Haiku

Spl:
- Fixed bug #75917 (SplFileObject::seek broken with CSV flags)
- Fixed bug #7809 (Cloning a faked SplFileInfo object may segfault)

Standard:
- Fixed bug #7748 (gethostbyaddr outputs binary string)
- Fixed bug #7815 (php_uname doesn't recognise latest Windows versions)

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe