https://blog.meathill.com/tech/php/php-anonymous-function-use-variable-in-parent-context.html
PHP匿名函数使用父作用域的变量