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

added changes for php55, part 2