Php How To Create An Empty Array Javascript Length Of List