What data structures can be stored in PHP? how can this problem be solved?

Source: Internet
Author: User
Which data structures of PHP can store data, such as the question, JAVA itself? now, I want to help others with PHP. I don't know the situation in PHP. Is there a LIST similar to that in JAVA in PHP, VECTOR and so on. is it only an array? ------ solution ------------------ what data do you want to store? Php array is very powerful, because I don't know java, so there are no data examples to see ------ solution ------- what data structures PHP has to store data
Such as the question, JAVA itself, now helps others get some PHP, do not know the situation in PHP,
Isn't PHP similar to LIST or VECTOR in JAVA, only arrays?

------ Solution --------------------
What data do you want to store? Php array is very powerful, because I don't know java, so there is no data example to look.
------ Solution --------------------
Php is used for webpage development and there is no need to build a complex data structure.
However, it provides the basis for constructing complex data structures: arrays and classes
You can construct it by yourself when needed

------ Solution --------------------
Is array not enough? The object, resource, or string xml and json are enough.
------ Solution --------------------
Please come out of the database... haha

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.