added changes for php55
Merge pull request #2 from partnermarketing/php55

added changes for php55