Regular Expressions 101

Community Patterns

method arguments parser

0

Regular Expression
PCRE (PHP <7.3)

/
(?'type'[\w|\[\]\/]+)\s*\$(?'name'\w+)\s*(=\s*(?'default'[\w\'\\"]+)|)
/
gm

Description

no description available

Submitted by anonymous - 4 years ago