Adapt swarrot for php 5.3
Merge pull request #1 from olaurendeau/master

Adapt swarrot for php 5.3