revise items array in property php program