Bug 435922 - PHP 5.6 support

Change-Id: I5933c027352071cab2a8dc79060a1f82f819df77
Signed-off-by: Michal Niewrzal <michal.n@zend.com>