This simple widget returns a simple twitter feed in an unordered html list using standard OAuth now required by Twitter's 1.1 API. To use this, you must first set up an app in the developer tools at http://dev.twitter.com/apps. Just sign in with your twitter account. Use the website that is going to access the feed as the app name and website. Once created, create Token keys and insert them in the appropriate fields at line 61.
Find a write up about this at my blog: http://catchylabs.com/code/twitter-feed-widget-php-function/