PHP had almost become a forgotten language, with a lapse of more than 10 years without a new major version after PHP 5.0 in 2004.