Test, validate and match regular expressions
This regex matches a PHP array assignment where the key is the literal string 'output' followed by the array operator and an array literal spanning multiple lines. It captures the entire array body lazily up to the first closing parenthesis, making it useful for extracting configuration blocks or validating structured data from PHP source files. The pattern is typically used with grep-like tools to locate and isolate output array definitions.