fix] Change the array useage in php for older php version in handleData script.