I have tried numerous variations, but my regex skills suck! I would appreciate anyone who can give me a pattern to use in preg_match_all() to match the following (I have the first part up to ANYTHING working):
'|function ([\w\d\_]+)\((.*)\)ANYTHINGreturn (ANYTHING);|' So parsing a PHP file I hope to have 3 backreferences that return the "function name", "function args" and "return value (if present)" of all functions. Thanks! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php