Adapt swarrot for php 5.3

We will upgrade soon, but well ... that's not yet done :)