Fixes test case on php 5.4

Signed-off-by: crynobone <crynobone@gmail.com>