Updated Drupal TextMate Bundle
I've updated my Drupal TextMate bundle script to also generate snippets for all PHP internal functions, including correct placeholders for the function arguments. It's a lifesaver when navigating PHP's bizarre Array or String APIs.
The script fetches the PHP function list straight from PHP CVS, but it still needs a Drupal tree to work. You can also copy in the contrib documentation to get snippets for hooks too (which even auto-fill in the module name). All PHP files within the given path are parsed.
To use it, place it in ~/Library/Application Support/TextMate/Bundles
and run it:
php generate.php.txt [path to drupal]
In TextMate, go to Bundles › Bundle Editor › Reload Bundles to activate it.
(License: GPL)