Insert Php Array Into Arraylist Length Method