working through a massive #php refactor and finally got to use
static in a closure for a loop. i used to instantiate reused services outside if the closure and made them available with use. i always hated that they weren't able to be scoped properly due to performance…