Custom exceptions have always had to be translated into a response somewhere in the handler, which turns one file into a growing chain of instanceof checks. 5.5 lets…
Calling a userland function with too few arguments used to be a warning that let execution continue with the parameter unset, which turned a call-site mistake into a…
PHP 7.0 gave return types and no way to say a method might legitimately return nothing, so anything that could miss simply went untyped. 7.1 adds a leading…
Modern cryptography in PHP has meant either openssl with a lot of decisions to get wrong, or a PECL extension nobody had. 7.2 puts libsodium in core, with…
An email assembled in a controller — subject here, view there, attachments in a third place — cannot be tested without sending it, and the subject line ends…
A method that exists for its effect has always returned null implicitly, which means a caller assigning its result gets something rather than an error. void makes the…