For < PHP5.3 compatibilty

To fix "func_get_args(): Can't be used as a function parameter" for below PHP 5.3
Merge pull request #31 from tesdevuk/master

Fix func_get_args for PHP < 5.3