Php Class Variable Array Javascript Methods Types In Java