Changed php version dependency
Conveted array references to 5.3 compatible syntax