Test, validate and match regular expressions
This regex matches PHP class property declarations (e.g., `public $name;`) with optional leading/trailing whitespace, capturing the visibility modifier and the variable name. It is useful for extracting property names from source code, refactoring, or converting property declarations into array keys or documentation stubs. The multiline flag ensures each line is checked independently.