Today asked a question about how PHP arrays add properties
Source: Internet
Author: User
Asked a question today, how does the PHP array add properties
I say the pear is very big, ask your peers to help you answer
------to solve the idea----------------------
Your interviewer asks you this?????
------to solve the idea----------------------
What do you mean, swollen? Never heard of, it seems that the book read too little
------to solve the idea----------------------
Personal feeling he was going to ask you how to add elements to the data, test some of the functions of the array operation, Array_push,array_merge, etc...
------to solve the idea----------------------
PHP array inside should say element, should not say attribute bar .....
------to solve the idea----------------------
Do arrays have attributes?
------to solve the idea----------------------
Looking for a job, you look here.
------to solve the idea----------------------
can be converted to Arrayobject in SPL, you can add object properties now
------to solve the idea----------------------
Arrayobject is an object, not an array
Only objects have attributes
Don't ask the JS array, right?
------to solve the idea----------------------
Array add element?
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.