fixed issue with older php versions

Change-Id: I8ac6cb1c512968266db0d63a47d0e71a44b30ee4
Merge "fixed issue with older php versions"