Fetching a class constant by a variable name required constant() with a string concatenation, which no tool could follow. The syntax is better than the string concatenation mainly…
Two integer columns and a currency string, reassembled by hand in every place that needed a total. A cast that reads several columns and writes several is the…
Constants were the last untyped declaration in the language, and 8.3 fixes that with the covariance rule you would expect. The type is checked at compile time on…
8.3 relaxed one readonly restriction and not the one everybody wants, so a wither is still a constructor call. The __clone relaxation is narrower than it first reads:…
A post type registered without the right arguments is invisible to the site editor, which means its template is still a PHP file. show_in_rest is the switch that…
Eleven per cent of a request spent in the autoloader, on a machine where the optimised classmap had not been generated. The authoritative flag turns every autoload into…
A factory namespace under autoload-dev, referenced by a seeder, referenced by a console command that shipped. The failure is correct and the timing is the problem: a class…