Php 5.4 compatibility fixes

Behaviour of eval() changed since php 5.2, changed arg_getting_strings to inline.
Fixed E_STRICT fails because of inconsistent function declarations.
Merge pull request #48 from semirke/dev

Php 5.4 compatibility fixes