Re:PHP 8: Before and After
by oblio on Friday October 23, 2020 @04:38AM
(#24867228)
How so? That sounds weird.
[ Parent
| on HN ]
It scans the classpath and silently instantiates whatever it finds. E.g. you're depending on the mongodb client drivers? Congratulations, your spring context suddenly contains connections to mongodb servers. Upgrade one of your dependencies and the new version has a dependency on tomcat? Congratulations, your spring boot application silently starts running a webserver.