With PHP 8.4’s release, we have a new DomHTMLDocument class that makes working with HTML documents easier and more standards-compliant, while fixing some long-standing bugs in the old DOMDocument class.
PHP
Tests as data: ensuring AI-generated code does what we want
Matteo Vaccari explains how readable acceptance tests, stored as data rather than test code, can define what we expect from AI-generated software. Separating those expectations from the test runner makes them easier to review and Read more…