Fix array in PHP 5.1