Home  >  Article  >  Backend Development  >  What do square brackets mean in the php manual?

What do square brackets mean in the php manual?

藏色散人
藏色散人Original
2019-10-10 11:03:134601browse

What do square brackets mean in the php manual?

#What do the brackets mean in the php manual?

The square brackets in PHP are generally used to obtain the corresponding value of the array through the key name of the array. It is a symbol in PHP

For example:

Also in the form, add square brackets to the name of the element, and you can submit multiple elements with the same element name

For example:




php处理时:

For more PHP related knowledge, please visit PHP中文网!

The above is the detailed content of What do square brackets mean in the php manual?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn