How to use Union Types in PHP
One of the most exciting features in PHP 8.0 is Union Types. Union Types allow you to declare a type constraint as a union of two or more types.
One of the most exciting features in PHP 8.0 is Union Types. Union Types allow you to declare a type constraint as a union of two or more types.
mysql_native_password
not loaded errors on MySQL 8.4SQLSTATE[HY000] [1524] Plugin 'mysql_native_password' is not loaded
errors caused in MySQL 8.4 no longer enabling the mysql_native_password
plugin by default.AEGIS-128L
and AEGIS256
Authenticated Encryption ciphers. They are significantly faster than AES-GCM
and CHACHA20-POLY1305
. This article benchmarks them and explains how to securely encrypt and decrypt data using AEGIS-128L
and AEGIS256
on PHP.You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.
Support PHP.Watch — If you find the articles, version information, Codex, and other PHP.Watch contributions useful, consider supporting through GitHub Sponsors. Your sponsorship helps dedicate more time to creating valuable content and improving the PHP community. Together, we can keep the momentum going — thank you for your support!
Thanks to the highest tier sponsor: @TomasVotruba for your generous support to keep PHP.Watch moving 💜