Support for php 5.5

Change-Id: I9454fdd48f8f373d03de600d169db17c93c97a4b