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? only arrays. what data do you need to store? Php arrays are very powerful. because I don't know java, there are no data Examples. php is used for webpage development, there is no need to build complicated data structures in PHP that can 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
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.