NextDom\Helpers\Utils::polyfillGlobBrace

got from https://github.com/zendframework/zend-stdlib/issues/58