Fix PHP 5.4 syntax in test.