Urgent.News

What's breaking now, across thousands of outlets.

Tech

My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it

In 2014, a PHP developer wrote 174 lines of code as a temporary solution for AOL's content management system. The code was posted on Packagist, and despite its intended lifespan of just a year or two, it has been installed nearly 20 million times since. The code is used by WPML, a multilingual WordPress plugin, and the idna-convert library, which is included in Debian and Ubuntu.

The developer, who has since moved on from PHP, has decided to officially deprecate the code. A new maintainer has been found, but the developer warns that the package will no longer receive updates. The developer recommends using the PHP League's URI library or PHP 8.5's built-in URI API instead.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at jakeasmith.com →

More in Tech

More from Thursday 17 September →