PHP 5.3 compatibility

Change-Id: Ia132f357f0d1a222c05aa469d4232e573bad947b
Fixed: PHP Fatal error:  Unsupported operand types