Here's a little snippet of the day for you. A regex to grab the names of functions from a PHP file.
/^\s*(?:(?:public|private|protected|static|abstract|final)\s+)*
function\s+&?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)/
function\s+&?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)/
Linebreak added for legibility.
If you were wanting to know the functions which exist in a particular class or file for an application or similar, you'd be better off using the PHP Reflection functions which are very powerful and much more robust than any regex solution. I'm just using this regex for my text editor so it will detect all the functions in the current file. The default regex didn't handle all the less-used styles such as "protected static final function".