php arrays, strings and objects files